das-developers / das2java

The original das2 library. Provides interactive publication-ready 2-D plotting
https://das2.org
GNU Lesser General Public License v3.0
4 stars 0 forks source link

GrannyStringEditor doesn't show up in Das2 applications #87

Closed jbfaden closed 7 months ago

jbfaden commented 7 months ago

GrannyStringEditor doesn't show up in Das2 applications

jbfaden commented 7 months ago

I've added:

        PropertyEditor.addStringEditor("org.das2.graph.DasAxis","format", new AxisFormatStringSchemeEditor() );
        PropertyEditor.addStringEditor("tickValues", new TickValuesStringSchemeEditor() );
        PropertyEditor.addStringEditor("specialColors", new SpecialColorsStringSchemeEditor() );
        PropertyEditor.addStringEditor("label", GraphUtil.newGrannyTextEditor() );
        PropertyEditor.addStringEditor("title", GraphUtil.newGrannyTextEditor() );
        PropertyEditor.addStringEditor("legendLabel", GraphUtil.newGrannyTextEditor() );         
        PropertyEditor.addStringEditor("org.das2.graph.DasAnnotation","text", GraphUtil.newGrannyTextEditor() );

I'd forgotten about the specialColors property of the colorbar...