According to the Series Requirements in the IG XamDataChart 2010.3 documentation, the StepAreaSeries does not support numerical values on the x-axis.
Example of what I want to achieve:
I have a dataset with the following values:
{x=0.0 y=0.12}
{x=125 y=0.3}
{x=250 y=0.05}
{x=375 y=0.2} and so on... The distance between the x-values are the same between all points. In the end, I want my plot to look like this:
I have managed to draw the vertical lines by using ScatterLineSeries and using MarkerType.None.
Is there any way of adding step area series with numerical x-values??
Edit: I have the same issue with StepLineSeries.
The step line and area series support numerical values on the x axis, but they will treat all values as if they were evenly spaced. For example X = 1, x = 2, x = 2000000, will plot one after another with the same amount of interstitial spacing. This is because the numbers are being treated as string catagories rather than true numbers, which is appropriate if your data values are evenly spaced. But not as appropriate if they are not (e.g. 1, 2, 2000000).
Are you saying your data values are evenly spaced, or that they are being shown evenly spaced, and this isn't what you want?
If you are fine with them being shown evenly spaced, but are trying to overlay some dividers using a scatter line series, then this will be frustrating, as it can be hard to get the values to align between a category x axis and a numeric x axis, but not impossible.
You could emulate a steplineseries that takes true numeric x data, but inserting extra points into the data used for a scatter line series to give it the stepped effect. You would then just need a way to hide the markers you did not want to see.
Let me know more about what you are trying to do, and I'll see if I can help out.
Hope this helps!
-Graham