Scatter Series and Date Time axis
This discussion was imported from CodePlex
willmoore88 wrote at 2013-07-24 16:29:
Is it possible to use a scatter series with a dateTime axis?
Jasper1986 wrote at 2013-10-20 17:23:
yes~
var s2 = new ScatterSeries
var s2 = new ScatterSeries
{
Title = "testScatter",
DataFieldX = "Time",
DataFieldY = "Value",
ItemsSource = data
};
however, i can't compile the codes above with current dlls, it seems something is wrong when cast datetime to double._Noctis_ wrote at 2013-10-21 06:23:
Yep.
Here's a screenshot:
I'm using something along:
Here's a screenshot:
I'm using something along:
X = DateTimeAxis.ToDouble(your_date_here)
when adding the points... seems to work.Customer support service by UserEcho