Hello,
I am trying to display a line series based on time, and from reading in the forums it seems that it is not an available option, as the Label parameter maps only to strings.
Using the 2011.1 release I noticed a DateTimeAxis and DateTimeDataPoint element, but no examples of their use and failed to use them in a naive way.
Could you approve my assumption or give a simple example of a DateTime chart?
Most basic example would be:
<Chart:XamWebChart> <Chart:XamWebChart.Series> <Chart:Series ChartType="Line" DataSource="{Binding Values}" DataMapping="Label=Date; Value=Value"> </Chart:Series> </Chart:XamWebChart.Series> </Chart:XamWebChart>
Thanks
Hi there,
Our DateTime Labels sample found here http://samples.infragistics.com/sldv/RunSamples.aspx?cn=web-chart#/web-chart/datetime-labels gives a very simple example of how to create a chart using the DateTimeAxis and DateTimeDataPoint element. The code is available to view in the combobox of the sample.
Hope this helps,
Marisa
It appears that this link no longer works, and I can't find this specific example. Could you please confirm where this example is located?