使用辅助轴制作图表,使我的图表成为主要图表 y-axis并显示了一些我不想拥有的值。
仅x-axis次要的y-axis。并且还x-axis绘制了没有日期值的日期。
码:
chartType2 = GetChartType(worksheet, chartToDraw, endcolcnt, i, chartType2, chartType);
chartType2.UseSecondaryAxis = true;
Scale(headerString, endcolcnt, worksheet, chartType2, stcol, isFieldSame, endcol, stcolumn1, endrow, startRow);
Run Code Online (Sandbox Code Playgroud)
and Scale Function仅分配标题名称和全部。
有关拍摄系列的详细信息

输出:

输入项
