Can u plz explain how to draw composite chart. I want to draw stacked area + line chart.
Stacked area chart has very large value range say from 50k to 100k. And line series has values like 2.5 to 10.6
I set primary y for stacked area and secondary y for line chart. And made AutoRange=true for both axis. But its showing range 50k to 100k on both axis primary ans secondary. So tell me how to separate these tow so that i can show stacked area chart as well as line chart.
Please give sample code for that
Thanks,
Mahendra
Bar charts cannot be plotted together with line charts. Bar charts use a string Y axis and a numeric X, which is different from Line charts. Line charts use string X and numeric Y, and so only those charts using string X and numeric Y can be plotted together with the line chart.
The same way. Can I draw a barchart and a line Chart? I am getting an error message though. " The bar types cannot be used together with other non bar chart types."
<igChart:XamWebChart> <igChart:XamWebChart.Series> <igChart:Series ChartType="Line" AxisY="y2"> <igChart:Series.DataPoints> <igChart:DataPoint Value="2.5" /> <igChart:DataPoint Value="10.6" /> </igChart:Series.DataPoints> </igChart:Series> <igChart:Series ChartType="StackedArea" AxisY="y1"> <igChart:Series.DataPoints> <igChart:DataPoint Value="50000" /> <igChart:DataPoint Value="75000" /> </igChart:Series.DataPoints> </igChart:Series> <igChart:Series ChartType="StackedArea" AxisY="y1"> <igChart:Series.DataPoints> <igChart:DataPoint Value="10000" /> <igChart:DataPoint Value="25000" /> </igChart:Series.DataPoints> </igChart:Series> </igChart:XamWebChart.Series> <igChart:XamWebChart.Axes> <igChart:Axis AxisType="PrimaryY" Name="y1" /> <igChart:Axis AxisType="SecondaryY" Name="y2" /> </igChart:XamWebChart.Axes> </igChart:XamWebChart>
Hi,
I m using Infragistics.Silverlight.DataVisualization.Chart.v9.2 XamWebChart.
So pls give sample code for that...For multiple y axis
Regards,
Hi Mahendra,
Try this example:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/Chart_Creating_a_Composite_Chart_in_Code_Part_1_of_2.html
Best regards
Zdelo.