how to configure the chart by program ?
mohanaraj
600001
Dear all,
How can i able to configure the chart type report ?
i want to display the graphical report so that i want to provide option to user, to generate the report with their configuration.
like
1, Option to choose different chart type like pie chart, bar chart etc..
2. Option to choose show/don't show legend.
3. Option to choose the color of the chart areas.
How can i do this by program ? not in design itself
please give an example.
How can i able to configure the chart type report ?
i want to display the graphical report so that i want to provide option to user, to generate the report with their configuration.
like
1, Option to choose different chart type like pie chart, bar chart etc..
2. Option to choose show/don't show legend.
3. Option to choose the color of the chart areas.
How can i do this by program ? not in design itself
please give an example.
Comments
I want to do this by program.
Eg In my page one check box is displayed with text LEGEND if the user checked that checkbox then only Legend is shown in the report, and also they want to choose the color for the chart (area in that chart.)
Sorry, I have no complex example right now.
You can add or remove chart series by the MSChartObject.AddSeries, DeleteSeries methods. You need to reference the MS Chart dll - System.Windows.Forms.DataVisualization.dll. Once you have added the series, you need to configure it.
why?
and code not working!
have eror on stem.Windows.Forms.DataVisualization