简体   繁体   中英

How to make data points visible in a line chart?

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].MarkerSizeChart.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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM