小编Sha*_*pas的帖子

图表注释:如何沿数据点的轴对齐注释

我已经将注释与数据点对齐;我想垂直对齐注释。

我读过此书,但无法弄清楚如何将图表宽度与数据点相关联。https://msdn.microsoft.com/zh-CN/library/dd456731.aspx

并且:MS图表注释拒绝与鼠标位置对齐

到目前为止,我添加了一张图表图片作为示例。

'create new chart
 chart1 = New DataVisualization.Charting.Chart

 'add chart areas
  chart1.ChartAreas.Add("NewChartArea")
  chart1.ChartAreas("NewChartArea").Area3DStyle.Enable3D = False
  chart1.ChartAreas("NewChartArea").AxisX.MajorGrid.Enabled = False 'turn chart background grid on and off
  chart1.ChartAreas("NewChartArea").AxisY.MajorGrid.Enabled = False 'turn chart background grid on and off
  chart1.ChartAreas("NewChartArea").AxisX.Title = "Activities of daily living" '----> title on the bottom for the x axis
  '[template] chart1.ChartAreas("NewChartArea").AxisX.LabelStyle.Angle = 45
  '[template] Chart1.Series(SeriesZeroChartName).Label = " my own label" ' -----> adds a label at the top of each bar

   For c As …
Run Code Online (Sandbox Code Playgroud)

c# vb.net charts

5
推荐指数
1
解决办法
3996
查看次数

标签 统计

c# ×1

charts ×1

vb.net ×1