Click here to Skip to main content
15,892,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi, i have a xtrachart using devexpress. The name for the chart is xrChart1. Now in my database i have 3 records, may i ask that how can i move/display the 3rd record(the chart's bar/series) into a new chart when display it? For example, a chart for the first two record(bar) in it and a second chart for the 3rd record(bar) in it.
Posted
Comments
DamithSL 1-Jun-14 22:49pm    
you better ask this from devexpress SUPPORT CENTER[^]

1 solution

If I understand your question correctly, there is nothing special to devexpress xtrachart control. You just need to split your records into two to display them on two different chart like

chart1.DataSource = mySource.Take(2);
chart2.DataSource = mySource.Skip(2);

see here[^] to learn more about devexpress charts.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900