I want to draw a few charts in c# and used the chart control you can find in the toolbox/data. But i am not able to change the 开发者_StackOverflow社区chart type so something else, i can not find any property to change it from vertical bars to something else like a pie chart.
ChartType
is a property of a Series
, not of a Chart
.
Please check ChartType Property of Series and you can set chart type using SeriesChartType Enumeration
Go to properties window in that you will get Series property click on it in that you will get "Chart" property. where you can change chart type(bar,pie,line etc.)
精彩评论