I’m using an X axis with custom labels, which works fine. The line serie added also works as expected, the only problem is that the X axis becomes twice the size needed by the graph. My question is how do I ensure that the axis does not become twice the size needed to display the lineserie?
Edit: After some more research I found out that, the problem that I’m creating the “step” graph, which means I add twice as many points to the graph, but without making the lineserie larger on the X axis. Therefore I would still like to set a maximum size on the X axis.
Imported from legacy forums. Posted by Xharze (had 1489 views)
I’m not sure I totally understand what you’re doing, but I would suggest you use a NumericScale instead of a DimensionScale. You will need to set UseXValues to true on the line series, then make sure you add all your DataPoints with an XValues, so they will appear at the right position. This way the X axis should not double.
Imported from legacy forums. Posted by André (had 317 views)