C#绘制多Y轴Chart源码

时间:2022-08-22 17:07:05
【文件属性】:
文件名称:C#绘制多Y轴Chart源码
文件大小:3.6MB
文件格式:ZIP
更新时间:2022-08-22 17:07:05
Chart MultiYaxis 可以灵活增加Y轴,并设置Y轴的左右位置。 // Plot using the primary axes (bottom and left) var mySignalPlot1 = plt.AddSignal(myData1); mySignalPlot1.XAxisIndex = 0; mySignalPlot1.YAxisIndex = 0; // Create another axis to the left and give it an index of 2 var secondYAxis = plt.AddAxis(Edge.Left, axisIndex: 2); // Plot using the primary X axis but our custom Y axis var mySignalPlot2 = plt.AddSignal(myData2); mySignalPlot1.XAxisIndex = 0; mySignalPlot1.YAxisIndex = 2;

网友评论