【问题标题】:How to change the axis color of javafx chart?如何更改 javafx 图表的轴颜色?
【发布时间】:2018-09-05 07:41:04
【问题描述】:

我是 javafx 的新手。我正在使用 javafx 图表(折线图)并想更改轴颜色,用红色圆圈表示。

有人可以帮助我吗?谢谢

【问题讨论】:

    标签: java javafx charts colors axis


    【解决方案1】:

    终于找到了解决办法。

    .axis:left {-fx-border-color: transparent #0f0f0f transparent transparent;} .axis:bottom{-fx-border-color: #0f0f0f transparent transparent;}

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-12-15
      相关资源
      最近更新 更多