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.
Create a new renderer with the x and y planes of the bundle ds identified.  If the xplane or yplane is 
 not identified, then use unbundle(1) for the xplane and unbundle(y) for the yplane.
TickCurveRenderer( )
PROP_TICK_STYLE
CONTROL_TICK_LENGTH
PROP_FONTSIZE
PROP_TICKDIRECTION
PROP_TICKSPACING
PROP_TICKVALUES
acceptContext
acceptContext( int x, int y ) → boolean
Parameters
x - an int
y - an int
Returns:
boolean
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
acceptsData
acceptsData( QDataSet ds ) → boolean
return true if the data is ds[:,3] (T,X,Y) or ds[x[t]]  t→x→y
Parameters
ds - the dataset
Returns:
true if the data is ds[:,3] or ds[x[t]]
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
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 - a QDataSet
Returns:
a double
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
doAutorange
doAutorange( QDataSet ds1 ) → QDataSet
autorange on the data, returning a rank 2 bounds for the dataset.
Parameters
ds1 - the dataset
Returns:
rank 2 bounding box.  r[0,0] is x min, r[0,1] is x max.
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
getColor
getColor(  ) → java.awt.Color
get the color of the orbit
Returns:
the color
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
getControl
getControl(  ) → String
Returns:
java.lang.String
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
getFontSize
getFontSize(  ) → String
Returns:
java.lang.String
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
getLineWidth
getLineWidth(  ) → double
Getter for property lineWidth.
Returns:
Value of property lineWidth.
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
getListIcon
getListIcon(  ) → javax.swing.Icon
Returns:
javax.swing.Icon
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
getTickDirection
getTickDirection(  ) → String
Returns:
java.lang.String
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
getTickLabeller
getTickLabeller(  ) → org.das2.graph.TickLabeller
provide access to the tick labelling code
Returns:
an org.das2.graph.TickLabeller
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
getTickLength
getTickLength(  ) → String
Getter for property tickLength.
Returns:
Value of property tickLength.
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
getTickSpacing
getTickSpacing(  ) → String
get the spacing between ticks, which might be "" meaning automatic.
Returns:
a String
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
getTickStyle
getTickStyle(  ) → org.das2.graph.TickCurveRenderer.TickStyle
Getter for property tickStyle.
Returns:
Value of property tickStyle.
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
getTickValues
getTickValues(  ) → String
Returns:
java.lang.String
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
render
render( java.awt.Graphics2D g1, org.das2.graph.DasAxis xAxis, org.das2.graph.DasAxis yAxis ) → void
Parameters
g1 - a Graphics2D
xAxis - a DasAxis
yAxis - a DasAxis
Returns:
void (returns nothing)
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
selectionArea
selectionArea(  ) → java.awt.Shape
Returns:
java.awt.Shape
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
setColor
setColor( java.awt.Color color ) → void
set the color of the orbit
Parameters
color - a Color
Returns:
void (returns nothing)
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
setControl
setControl( String s ) → void
Parameters
s - a String
Returns:
void (returns nothing)
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
setDataSet
setDataSet( QDataSet ds ) → void
Parameters
ds - a QDataSet
Returns:
void (returns nothing)
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
setFontSize
setFontSize( String fontSize ) → void
relative font size.
Parameters
fontSize - a String
Returns:
void (returns nothing)
See Also:
Renderer#CONTROL_KEY_FONT_SIZE 
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
setLineWidth
setLineWidth( double lineWidth ) → void
Setter for property lineWidth.
Parameters
lineWidth - New value of property lineWidth.
Returns:
void (returns nothing)
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
setTickDirection
setTickDirection( String tickDirection ) → void
Parameters
tickDirection - a String
Returns:
void (returns nothing)
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [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 - a TickLabeller
Returns:
void (returns nothing)
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
setTickLength
setTickLength( String tickLength ) → void
Setter for property tickLength.
Parameters
tickLength - New value of property tickLength.
Returns:
void (returns nothing)
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [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 - a String
Returns:
void (returns nothing)
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [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 on old javadoc]
 [view source]
setTickVDescriptor
setTickVDescriptor( org.das2.graph.TickVDescriptor ticks ) → void
manually set the ticks for the renderer, or null means use automatic.
Parameters
ticks - a TickVDescriptor
Returns:
void (returns nothing)
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]
setTickValues
setTickValues( String tickValues ) → void
set like the axis control, with values like:
 - +2hr for every two hours
 
- 2019-11-26T00:02,2019-11-26T00:07 for explicit positions
 
Parameters
tickValues - a String
Returns:
void (returns nothing)
[search for examples]
 [view on GitHub]
 [view on old javadoc]
 [view source]