Hello,
I have ObservableCollection<Car> as data. Each Car model is having Make, Model, Price & ManufacturingDate as properties.
Here I have to GroupBy Make property and for each resulting collection, I want to create a Line on my chart with ManufacturingDate on X Axis and Price on Y Axis.
So each line will display all models of a car maker with Price and ManufacturingDate.
All Lines should be visible at same time with X Axis labels and Y Axis labels appropriately.
Hello nikhilthaker86,
Please provide a screenshot and/or mockup of the desired chart you wish to illustrate that best meets your requirements.
Hi Michael,
PFA the screenshot. In real time there will be multiple lines(one for each "Make" value) like the one in the screenshot.
Each line will plot one car maker, while each point will represent the car model for given Price(Y Axis) and ManufacturingDate(X Axis).
Please let me now if any further details required.
Thanks, Nikhil
Hi Michael, You or anybody else from Infragistics looking at it?
I am following up to provide you with a better solution which demonstrates how to dynamically add series based on the car manufacture with data points per model. Although I mentioned earlier you could use a Stacked series, a normal Line series is a more viable solution. Tooltips will also have to be generated manually per series.
Please review my latest sample attached and let me know if you have any questions.
Thank you for following up. I am currently the only only one actively working on your case. I built a sample that I haven't finished yet, howerver the best approach would be to use a StackedLineSeries with the manufacturing date to the a CategoryXAxis and the Price to be the NumericYAxis. Each record in your data would represent a car and the models could be represented as data points along the lines.
I've also illustrated how to show the tooltips based on your screenshot.Please review my sample attached and let me know if you have any questions.