I'm using ASP.NET chart control, and my chart looks like this:
I would like to have a chart with data points represented, like this:
Can someone please tell me how to achieve this? Thanks..
Edit: the IsValueShownAsLabel shows the y-axis values, but doesn't "represent" different series (in my example: square and diamond). Do I need to use another property to get this done?
使用Chart.Series[0].MarkerSize
和Chart.Series[0].MarkerStyle
Assuming you're using Microsoft's data visualization asp.net charts, simple use the following: Chart.Series[0].IsValueShownAsLabel=true;
More: here
要将点的值显示为标签,您应将属性IsValueShownAsLabel
设置为true
。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.