没有人知道么,现在就是第二条没有解决了
1. 解决方法是 ChartInspection.ChartAreas(0).AxisY.LabelStyle.Format = "#.##"
3. 解决方法是 ChartInspection.Series(i).MarkerStyle =3
Imports System.Windows.Forms.DataVisualization.Charting Public Class Form1 Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim x(6) As Date Dim y(6) As Double Dim i As Integer x(0) = "2010.5.6" y(0) = 0 For i = 1 To 6 x(i) = x(i - 1).AddDays(365 * 2 * Rnd()) y(i) = Math.Round(i * Rnd(100) * 1.0264, 2) Next Chart1.Series(0).ChartType = DataVisualization.Charting.SeriesChartType.Line Chart1.Series(0).Points.DataBindXY(x, y) Chart1.Series(0).IsValueShownAsLabel = True Chart1.Series(0).LabelForeColor = Color.Red Chart1.ChartAreas(0).AxisX.IntervalType = DateTimeIntervalType.Years '主轴间隔 Chart1.ChartAreas(0).AxisX.Interval = 1 'Chart1.ChartAreas(0).AxisX.LabelAutoFitStyle = DataVisualization.Charting.LabelAutoFitStyles.WordWrap End Sub End Class