【问题标题】:Can't show the vertical ticks lines on Shield UI Chart无法在 Shield UI 图表上显示垂直刻度线
【发布时间】:2013-06-27 11:45:47
【问题描述】:

我正在尝试设置垂直线——在 X 轴上扩展刻度线。我要做的是

 axisX:
 {
   categoricalValues: ["Jan", "Feb", "Mar", "Apr", "May", "Jun"],
   plotStripColor: 'red',
   plotStripDashStyle: 'ShortDashDot'
 }, 

我需要线条是红色的,并且采用了“ShortDashDot”样式,这并不重要。我无法使线条出现,尽管我使用了 Solid 和其他值。有什么问题?

【问题讨论】:

    标签: javascript shieldui


    【解决方案1】:

    您唯一缺少的是使用 plotStripWidth 属性设置线条粗细。提供颜色是不够的,因为默认情况下,线条不仅是白色的,而且厚度为 0。

    axisX: {
       plotStripColor: 'red',
       plotStripDashStyle: 'ShortDashDot',
       plotStripWidth: 2
    }
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-08-04
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多