Hello,
I have a question about the RadChart for Silverlight and my situation is as follows;
I have created a LineSeries RadChart in XAML and I bind it to a nested list with custom business objects (thus I have multiple chartlines to be shown on my ChartArea). In my code behind I fill the nested list and create a ItemMappingCollection with ItemMappings for each DataSeries (XValue with a DateTime and YValue with a double value). In my XAML I have the XAxis defined, which is just a static date definition, for example one week backwards and one week forwards.
Now when I bind the RadChart with this static XAxis, the chart is plotted correctly but the legend is not showing up. But when I remove the static XAxis definition from my XAML and also remove the ItemMapping for the XValue, the legend is showing correctly but the XAxis just has numeric values, and not the date values I want to show. Then when I decided to just remove the static XAxis definition and keep the ItemMapping for the XValue, I get multiple date values on my XAxis, they overlap each other for every dataseries on the chart.
Can you point me in the good direction or provide me with a solution for this challenge?
With kind regards,
Rick Oonk
Info Support B.V.
I have a question about the RadChart for Silverlight and my situation is as follows;
I have created a LineSeries RadChart in XAML and I bind it to a nested list with custom business objects (thus I have multiple chartlines to be shown on my ChartArea). In my code behind I fill the nested list and create a ItemMappingCollection with ItemMappings for each DataSeries (XValue with a DateTime and YValue with a double value). In my XAML I have the XAxis defined, which is just a static date definition, for example one week backwards and one week forwards.
Now when I bind the RadChart with this static XAxis, the chart is plotted correctly but the legend is not showing up. But when I remove the static XAxis definition from my XAML and also remove the ItemMapping for the XValue, the legend is showing correctly but the XAxis just has numeric values, and not the date values I want to show. Then when I decided to just remove the static XAxis definition and keep the ItemMapping for the XValue, I get multiple date values on my XAxis, they overlap each other for every dataseries on the chart.
Can you point me in the good direction or provide me with a solution for this challenge?
With kind regards,
Rick Oonk
Info Support B.V.