org.das2.graph.EventsRenderer

Draw colored horizontal bars for the dataset, marking events datasets or modes of the data. This expects a QDataSet with the canonical scheme:

{@code
    Events[:,BUNDLE_1=4] where the columns are:
      BUNDLE_1=startTime,stopTime,Color,Message
    startTime,stopTime are in some time location unit.  stopTime may also be an offset from startTime (e.g. seconds)
    Color is an int, that is either 0xRRGGBB or 0xAARRGGBB.
    Message is any datum, so typically an enumeration unit is used.
}
Note this also contains systems for coloring data in old schemes, such as the colorSpecifier interface and textSpecifier. These should not be used when a dataset will be sufficient.


DEFAULT_TEXT_SPECIFIER


PROP_SHOWLABELS


PROP_ORBITMODE


PROP_GANTTMODE


PROP_COLOR_SPECIFIER


getColorSpecifier

getColorSpecifier( ) → ColorSpecifier

Returns:

org.das2.graph.EventsRenderer.ColorSpecifier

search for examples view on GitHub view source


getRenderTimeLimitMs

getRenderTimeLimitMs( ) → int

Returns:

int

search for examples view on GitHub view source


getTextSpecifier

getTextSpecifier( ) → TextSpecifier

Getter for property textSpecifier.

Returns:

Value of property textSpecifier.

search for examples view on GitHub view source


isGanttMode

isGanttMode( ) → boolean

Returns:

boolean

search for examples view on GitHub view source


isOrbitMode

isOrbitMode( ) → boolean

Returns:

boolean

search for examples view on GitHub view source


isShowLabels

isShowLabels( ) → boolean

Returns:

boolean

search for examples view on GitHub view source


setColorSpecifier

setColorSpecifier( org.das2.graph.EventsRenderer.ColorSpecifier spec ) → void

set this to be an object implementing ColorSpecifier interface, if more than one color is to be used when drawing the bars. Setting this to null will restore the initial behavior of drawing all bars in one color (or with rank 2 bundle containing color).

Parameters

spec - the color specifier.

Returns:

void (returns nothing)

search for examples view on GitHub view source


setGanttMode

setGanttMode( boolean ganttMode ) → void

Returns:

void (returns nothing)

search for examples view on GitHub view source


setOrbitMode

setOrbitMode( boolean orbitMode ) → void

Returns:

void (returns nothing)

search for examples view on GitHub view source


setRenderTimeLimitMs

setRenderTimeLimitMs( int renderTimeLimitMs ) → void

Returns:

void (returns nothing)

search for examples view on GitHub view source


setShowLabels

setShowLabels( boolean showLabels ) → void

Returns:

void (returns nothing)

search for examples view on GitHub view source


setTextSpecifier

setTextSpecifier( org.das2.graph.EventsRenderer.TextSpecifier textSpecifier ) → void

Setter for property textSpecifier.

Parameters

textSpecifier - New value of property textSpecifier.

Returns:

void (returns nothing)

search for examples view on GitHub view source