-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I'm trying to modify my graph's axis properties as the label and grid lines don't appear. Assigned some numbers but doesn't seem to change anything on the graph.
Here's my code. Data is updated dynamically in a callback where I pass a vector to line.x and line.y:
xpl::figure fig;
xpl::linear_scale sx, sy;
xpl::lines line(sx, sy);
line.colors = std::vector<std::string>({"blue"});
xpl::axis hx(sx), hy(sy);
hx.grid_lines = "solid";
hx.label = "x";
hx.label = "y";
hx.color = "#060482";
hx.grid_color = "#060482";
hy.orientation = "vertical";
hy.grid_lines = "solid";
hy.side = "left";
fig.add_axis(hx);
fig.add_axis(hy);
fig.add_mark(line);
fig
Here's my package versions running on Ubuntu 18.04 running on conda version 4.8.3
Thank you!
Metadata
Metadata
Assignees
Labels
No labels