You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While pursuing this discussion, I encountered an unusual behavior with FlowPlot when invoking setNodeColorSwatch() with JavaFX. Using java 17.0.6, openjfx 17.0.2, jfreechart-1.5.4, org.jfree.chart.fx-2.0.1, org.jfree.fxgraphics2d-2.1.4 and the code below, I see the first result pictured. With setNodeColorSwatch(), the font is unexpectedly larger and the colors lack the intended gradient; a click anywhere on the chart results in the expected appearance.
As a workaround, evoking either of the chart changed events after show() produces the expected font size and gradients.As the color swatch is not a bound property, an explicit redraw is not unreasonable. This is a low priority issue, but I'd welcome any insight.
Without setNodeColorSwatch():
With setNodeColorSwatch():
With viewer.getCanvas().getChart().fireChartChanged():
While pursuing this discussion, I encountered an unusual behavior with
FlowPlot
when invokingsetNodeColorSwatch()
with JavaFX. Using java 17.0.6, openjfx 17.0.2, jfreechart-1.5.4, org.jfree.chart.fx-2.0.1, org.jfree.fxgraphics2d-2.1.4 and the code below, I see the first result pictured. WithsetNodeColorSwatch()
, the font is unexpectedly larger and the colors lack the intended gradient; a click anywhere on the chart results in the expected appearance.As a workaround, evoking either of the chart changed events after
show()
produces the expected font size and gradients.As the color swatch is not a bound property, an explicit redraw is not unreasonable. This is a low priority issue, but I'd welcome any insight.Without
setNodeColorSwatch()
:With
setNodeColorSwatch()
:With
viewer.getCanvas().getChart().fireChartChanged()
:Code:
The text was updated successfully, but these errors were encountered: