[API Review]: RT-28148 - Add createSymbols Property to AreaChart / StackedAreaChart

Sven Reimers sven.reimers at gmail.com
Fri Mar 8 04:12:40 PST 2013


Hi all

AreaChart and StackedAreaChart are missing an API to simply disable the
creation of symbols. At the moment this is only possible by complex css
style acrobatics. LineChart on the other hand already provides a simple way
to do this. The proposed tweak takes the existing API from LineChart and
adds this to AreaChart and StackedAreaChart.

Desired API change:

 /**
     * Indicates whether symbols for data points will be created or not.
     *
     * @return true if symbols for data points will be created and false
otherwise.
     */
    public final boolean getCreateSymbols() { return
createSymbols.getValue(); }
    public final void setCreateSymbols(boolean value) {
createSymbols.setValue(value); }
    public final BooleanProperty createSymbolsProperty() { return
createSymbols; }

Desired additional CSS property (incldues additional StyleableProperty):

-fx-create-symbols


JIRA:
http://javafx-jira.kenai.com/browse/RT-28148

Thank

-Sven

P.S. An updated patch will hopefully be available there too.

-- 
Sven Reimers

* Senior Expert Software Architect
* NetBeans Dream Team Member: http://dreamteam.netbeans.org
* Community Leader  NetBeans: http://community.java.net/netbeans
                              Desktop Java:
http://community.java.net/javadesktop
* Duke's Choice Award Winner 2009
* Blog: http://nbguru.blogspot.com

* XING: https://www.xing.com/profile/Sven_Reimers8
* LinkedIn: http://www.linkedin.com/in/svenreimers

Join the NetBeans Groups:
* XING: http://www.xing.com/group-20148.82db20
* NUGM: http://haug-server.dyndns.org/display/NUGM/Home
* LinkedIn: http://www.linkedin.com/groups?gid=1860468
                   http://www.linkedin.com/groups?gid=107402
                   http://www.linkedin.com/groups?gid=1684717
* Oracle: https://mix.oracle.com/groups/18497


More information about the openjfx-dev mailing list