org.das2.graph.TickCurveRenderer

Renderer showing ticks along a curve, useful for orbits. Note this renderer assumes that someone else is showing the context, so just HH:MM is shown, assuming YYYY-MM-DD is shown elsewhere.


CONTROL_TICK_LENGTH


PROP_TICKDIRECTION


PROP_TICKSPACING


checkTickV

checkTickV( QDataSet tds ) → double

returns the minimal distance between consecutive ticks, or Double.MAX_VALUE if fewer than two ticks are found.

Parameters

tds -

Returns:

double

search for examples view on GitHub view source


getTickLabeller

getTickLabeller( ) → TickLabeller

provide access to the tick labelling code

Returns:

org.das2.graph.TickLabeller

search for examples view on GitHub view source


getTickSpacing

getTickSpacing( ) → String

get the spacing between ticks, which might be "" meaning automatic.

Returns:

java.lang.String

search for examples view on GitHub view source


getTickStyle

getTickStyle( ) → TickStyle

Getter for property tickStyle.

Returns:

Value of property tickStyle.

search for examples view on GitHub view source


setTickDirection

setTickDirection( String tickDirection ) → void

Returns:

void (returns nothing)

search for examples view on GitHub view source


setTickLabeller

setTickLabeller( org.das2.graph.TickLabeller tickLabeller ) → void

set the tick labelling code. If this is an instance of GrannyTickLabeller, then a property change listener will be added.

Parameters

tickLabeller -

Returns:

void (returns nothing)

search for examples view on GitHub view source


setTickSpacing

setTickSpacing( String tickSpacing ) → void

set the spacing between ticks, for example "2hr" is every two hours, and an empty string is the default automatic behavior.

Parameters

tickSpacing -

Returns:

void (returns nothing)

search for examples view on GitHub view source


setTickStyle

setTickStyle( org.das2.graph.TickCurveRenderer.TickStyle tickStyle ) → void

Setter for property tickStyle.

Parameters

tickStyle - New value of property tickStyle.

Returns:

void (returns nothing)

search for examples view on GitHub view source


setTickVDescriptor

setTickVDescriptor( org.das2.graph.TickVDescriptor ticks ) → void

manually set the ticks for the renderer, or null means use automatic.

Parameters

ticks -

Returns:

void (returns nothing)

search for examples view on GitHub view source