Creating custom charts

Pedro Duque Vieira pedro.duquevieira at gmail.com
Fri Sep 6 13:15:16 PDT 2013


Hi,

I'm trying to create a custom chart: a XYBarChart. That is a chart that
won't have the same limitation as the BarChart which only allows you to
specify a ValueAxis/CategoryAxis pair.
In doing this I was looking at the code for BarChart and copying as much as
I can from its implementation. The problem is that it uses a lot of package
private methods and fields from XYChart.
I think the framework chart implementations should be less reliant on
package private methods because if that happens then programmers trying to
create their own charts will probably need to rely on those same methods
which of course they won't be able to call.

Best regards,



-- 
Pedro Duque Vieira


More information about the openjfx-dev mailing list