Enzo icon indicating copy to clipboard operation
Enzo copied to clipboard

Gauge do not displays tickmarks with decimals

Open ElizBth opened this issue 10 years ago • 1 comments

I tried to show the tickmarks each 0.1 but it do not show. It only show integer numbers Here the code:

GaugeBuilder.create() .prefSize(400, 400) .startAngle(330) .angleRange(300) .minValue(0) .maxValue(10) .value(4) .minorTickSpace(0.1) .majorTickSpace(1) .plainValue(false) .tickLabelOrientation(Gauge.TickLabelOrientation.HORIZONTAL) .threshold(70) .thresholdVisible(false) .minMeasuredValueVisible(true) .maxMeasuredValueVisible(true) .build();

ElizBth avatar May 14 '15 17:05 ElizBth

The github version of Enzo is a bit outdated, you should better use the version on bitbucket or take the binary from bintray.

HanSolo avatar May 17 '15 19:05 HanSolo