小编Ann*_*ush的帖子

将辅助轴用于图表会导致x轴和主要y轴问题(Excel)

使用辅助轴制作图表,使我的图表成为主要图表 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仅分配标题名称和全部。

有关拍摄系列的详细信息 在此处输入图片说明

输出: excel输出

输入项 输入

c# excel epplus

4
推荐指数
1
解决办法
2621
查看次数

标签 统计

c# ×1

epplus ×1

excel ×1