2012-04-08 98 views

回答

0
ChartArea chartarea = new ChartArea(); 

Series Memory = new Series(); 

RepeatsMemoryPlot.Series.Add(Memory); 

//Add points to series Memory 

Memory.Points.AddXY(a, b); 

Series Time = new Series(); 

RepeatsMemoryPlot.Series.Add(Time); 

Time.ChartArea = Memory.ChartArea; 

Time.YAxisType = AxisType.Secondary; 


//Add Points to time series 
Time.Points.AddXY(a, b); 
圖表一些幫助
0

在ChartArea中,選擇Axis,然後選擇輔助Y(值)軸 並將Enabled從Auto更改爲True

第二軸將顯示