开发者

C# 2010 Microsoft Chart 4.0 Control has no ChartType Property?

开发者 https://www.devze.com 2023-03-25 14:22 出处:网络
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

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.)

0

精彩评论

暂无评论...
验证码 换一张
取 消