我正在使用MS图表控件.net 4.0
CharTemp.Series[seriesName].IsValueShownAsLabel = true;
CharTemp.Series[seriesName].ChartType = System.Web.UI.DataVisualization.Charting.SeriesChartType.Line;根据输入数据,我的图表可能会显示3-4个系列,因此我希望将点标签的预测颜色更改为与系列的线条颜色相同。如果有办法的话,请告诉我。
发布于 2013-02-19 20:19:46
chartSellInArea.Series["AttaintoForecast"].ChartType = SeriesChartType.Line;
chartSellInArea.Series["AttaintoForecast"].Color = Color.Orange;
chartSellInArea.Series["AttaintoForecast"].IsValueShownAsLabel = true;
chartSellInArea.Series["AttaintoForecast"].LabelBackColor = Color.Orange;https://stackoverflow.com/questions/13447736
复制相似问题