Im making a TileKpi gauge in Medusa, i set 3 sections with diferent colors, without highlight, but the colors in the gauge stay faded out, and hightlight the color where the needle is pointed.
code for the gauge:
Gauge gauge = GaugeBuilder.create()
.needleColor(Color.GRAY)
.needleBehavior(NeedleBehavior.OPTIMIZED)
.unit("Ton. Vapor/MW")
.decimals(2)
.minValue(0)
.maxValue(30)
.sectionsVisible(true)
.checkSectionsForValue(false)
.highlightSections(false)
.sections(new Section(0, 10, Color.DODGERBLUE),
new Section(10.1, 20, Color.FORESTGREEN),
new Section(20.1, 30, Color.RED))
.build();
gauge.setSkin(new TileKpiSkin(gauge));
gauge.setValue(11.05);
Image of the gauge that is being generated:
question from:
https://stackoverflow.com/questions/65850348/color-rendering-problem-in-javafx-medusa-gauge 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…