【问题标题】:C# ChartArea PlotArea TickLabels RatioC# ChartArea PlotArea TickLabels 比率
【发布时间】:2016-04-01 17:03:36
【问题描述】:

我正在使用 Excel 互操作图表来动态绘制图形。 TickLabels 没有完全显示,我必须手动调整 plotarea 的大小以使 TickLabels 可见。我尝试指定 PlotArea 的高度,但失败了。 是否有任何可编程属性来指定 PlotArea 和 TickLabels 区域的比率? 问候, 维克龙

【问题讨论】:

    标签: c# .net excel charts msdn


    【解决方案1】:

    找到了,需要先选择PlotArea然后修改高/宽

    chart.PlotArea.Select();
    chart.PlotArea.Height = 300;
    

    【讨论】:

      猜你喜欢
      • 2021-06-19
      • 1970-01-01
      • 2016-05-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-05
      相关资源
      最近更新 更多