org.das2.graph.DigitalRenderer


PROP_ALIGN


PROP_PLOTSYMBOL


PROP_SIZE

font size, 0 indicates the plot font should be used. TODO: this should be relativeSize. Add a property for this as well.


PROP_FILLLABEL


PROP_DATASETSIZELIMIT


formatDatum

formatDatum( String form, Datum d, char type ) → String

format the datum into a string, using the format and the pre-calculated type.

Parameters

form - the format, such as %.2f or "x=%d cc"
d -
type - 'x' 'X' 'd' 'o' 'c' 'C' or 'f'

Returns:

the string

search for examples view on GitHub view source


getAlign

getAlign( ) → Align

Returns:

org.das2.graph.DigitalRenderer.Align

search for examples view on GitHub view source


getFillLabel

getFillLabel( ) → String

Returns:

java.lang.String

search for examples view on GitHub view source


getPlotSymbol

getPlotSymbol( ) → PlotSymbol

Returns:

org.das2.graph.PlotSymbol

search for examples view on GitHub view source


setAlign

setAlign( org.das2.graph.DigitalRenderer.Align align ) → void

For the box containing the digital number, which corner is anchored to the data. Note this is consistent with the anchorPosition property of annotations.

Parameters

align -

Returns:

void (returns nothing)

search for examples view on GitHub view source


setFillLabel

setFillLabel( String fillLabel ) → void

the label printed where fill data (invalid data placeholder) is found.

Parameters

fillLabel - the label such as "fill" or "" for nothing.

Returns:

void (returns nothing)

search for examples view on GitHub view source


setPlotSymbol

setPlotSymbol( org.das2.graph.PlotSymbol plotSymbol ) → void

Returns:

void (returns nothing)

search for examples view on GitHub view source


typeForFormat

typeForFormat( String form ) → char

return the data type needed for the format. For example, %d needs integers, %f needs floats.

Parameters

form -

Returns:

'x' 'X' 'd' 'o' 'c' 'C' or 'f'

search for examples view on GitHub view source