自定义 JavaFX 中柱状图的起始点。

huangapple 未分类评论59阅读模式
英文:

customize start point for a Barchart with JavaFX

问题

我正在尝试使用JavaFX创建条形图,但我需要调整Bars的xAxis的起始点。例如,如果一个Bar可以从5开始,而不是从0开始,第二个Bar可以从10开始,而不是从0开始。

如果有人能提供建议,我会非常感谢。下面是我正在寻找的示例:

自定义 JavaFX 中柱状图的起始点。

英文:

I am trying to create a bar chart using JavaFX, but I have to adjust the starting point of xAxis of Bars. As an example if a Bar can start from 5 instead of 0 and second one from 10 instead of 0.

Thank you if someone can make a suggestion. Here is an example of what I am looking for:

自定义 JavaFX 中柱状图的起始点。

huangapple
  • 本文由 发表于 2020年7月27日 18:48:19
  • 转载请务必保留本文链接:https://java.coder-hub.com/63113726.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定