org.das2.graph.SeriesRenderer
SeriesRender is a high-performance replacement for the SymbolLineRenderer.
The SymbolLineRenderer is limited to about 30,000 points, beyond which
contracts for speed start breaking, degrading usability. The goal of the
SeriesRenderer is to plot 1,000,000 points without breaking the contracts.
It should be said that five years after its introduction that it's still quite limited.
The SeriesRenderer has a few additional features, such as error bars and
fill-to-reference. These are implemented as "render elements" so that work
is encapsulated.
PROP_SHOWLIMITS
PROP_ADDITIONALCLIP
PROP_DRAWERROR
PROP_FILLDIRECTION
PROP_ERRORBARTYPE
PROP_STAMPPSYMS
PROP_UPDATESPOINTSPERMILLISECOND
PROP_RENDERPOINTSPERMILLISECOND
PROP_CADENCECHECK
acceptContext
acceptContext( int x, int y ) → boolean
Returns:
boolean
search for examples
view on GitHub
view source
acceptsDataSet
acceptsDataSet( QDataSet dataSet ) → boolean
Returns:
boolean
search for examples
view on GitHub
view source
getControl
getControl( ) → String
Returns:
java.lang.String
search for examples
view on GitHub
view source
getDataSetSizeLimit
getDataSetSizeLimit( ) → int
Getter for property dataSetSizeLimit.
Returns:
Value of property dataSetSizeLimit.
search for examples
view on GitHub
view source
getErrorBarType
getErrorBarType( ) → ErrorBarType
Returns:
org.das2.graph.ErrorBarType
search for examples
view on GitHub
view source
getFillColor
getFillColor( ) → Color
Getter for property fillReference.
Returns:
Value of property fillReference.
search for examples
view on GitHub
view source
getFillDirection
getFillDirection( ) → String
Returns:
java.lang.String
search for examples
view on GitHub
view source
getFillStyle
getFillStyle( ) → FillStyle
how each plot symbol is filled.
Returns:
org.das2.graph.FillStyle
search for examples
view on GitHub
view source
getFirstIndex
getFirstIndex( ) → int
Returns:
int
search for examples
view on GitHub
view source
getLastIndex
getLastIndex( ) → int
Returns:
int
search for examples
view on GitHub
view source
getLineWidth
getLineWidth( ) → double
Returns:
double
search for examples
view on GitHub
view source
getPsymConnector
getPsymConnector( ) → PsymConnector
Returns:
org.das2.graph.PsymConnector
search for examples
view on GitHub
view source
getRenderPointsPerMillisecond
getRenderPointsPerMillisecond( ) → double
Returns:
double
search for examples
view on GitHub
view source
getUpdatesPointsPerMillisecond
getUpdatesPointsPerMillisecond( ) → double
Returns:
double
search for examples
view on GitHub
view source
isAdditionalClip
isAdditionalClip( ) → boolean
Returns:
boolean
search for examples
view on GitHub
view source
isAntiAliased
isAntiAliased( ) → boolean
Getter for property antiAliased.
Returns:
Value of property antiAliased.
search for examples
view on GitHub
view source
isCadenceCheck
isCadenceCheck( ) → boolean
Returns:
boolean
search for examples
view on GitHub
view source
isDrawError
isDrawError( ) → boolean
Returns:
boolean
search for examples
view on GitHub
view source
isFillToReference
isFillToReference( ) → boolean
Getter for property fillToReference.
Returns:
Value of property fillToReference.
search for examples
view on GitHub
view source
isHistogram
isHistogram( ) → boolean
Returns:
boolean
search for examples
view on GitHub
view source
isResetDebugCounters
isResetDebugCounters( ) → boolean
Getter for property resetDebugCounters.
Returns:
Value of property resetDebugCounters.
search for examples
view on GitHub
view source
isShowLimits
isShowLimits( ) → boolean
Returns:
boolean
search for examples
view on GitHub
view source
isSimplifyPaths
isSimplifyPaths( ) → boolean
Getter for property simplifyPaths.
Returns:
Value of property simplifyPaths.
search for examples
view on GitHub
view source
isStampPsyms
isStampPsyms( ) → boolean
Returns:
boolean
search for examples
view on GitHub
view source
selectionArea
selectionArea( ) → Shape
like accept context, but provides a shape to indicate selection. This
should be roughly the same as the locus of points where acceptContext is
true.
Returns:
java.awt.Shape
search for examples
view on GitHub
view source
setAdditionalClip
setAdditionalClip( boolean additionalClip ) → void
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setAntiAliased
setAntiAliased( boolean antiAliased ) → void
Setter for property antiAliased.
Parameters
antiAliased - New value of property antiAliased.
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setCadenceCheck
setCadenceCheck( boolean cadenceCheck ) → void
If true, then use a cadence estimate to determine and indicate data gaps.
Parameters
cadenceCheck -
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setControl
setControl( String s ) → void
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setDataSetSizeLimit
setDataSetSizeLimit( int dataSetSizeLimit ) → void
Setter for property dataSetSizeLimit.
Parameters
dataSetSizeLimit - New value of property dataSetSizeLimit.
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setDrawError
setDrawError( boolean drawError ) → void
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setErrorBarType
setErrorBarType( org.das2.graph.ErrorBarType errorBarType ) → void
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setFillColor
setFillColor( java.awt.Color color ) → void
Setter for property fillReference.
Parameters
color - the color
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setFillDirection
setFillDirection( String fillDirection ) → void
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setFillStyle
setFillStyle( org.das2.graph.FillStyle fillStyle ) → void
how each plot symbol is filled.
Parameters
fillStyle -
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setFillToReference
setFillToReference( boolean fillToReference ) → void
Setter for property fillToReference.
Parameters
fillToReference - New value of property fillToReference.
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setHistogram
setHistogram( boolean b ) → void
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setLineWidth
setLineWidth( double f ) → void
set the width of the connecting lines.
Parameters
f -
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setListIconSymSize
setListIconSymSize( float newSize ) → void
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setPsymConnector
setPsymConnector( org.das2.graph.PsymConnector p ) → void
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setRenderPointsPerMillisecond
setRenderPointsPerMillisecond( double newrenderPointsPerMillisecond ) → void
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setResetDebugCounters
setResetDebugCounters( boolean resetDebugCounters ) → void
Setter for property resetDebugCounters.
Parameters
resetDebugCounters - New value of property resetDebugCounters.
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setShowLimits
setShowLimits( boolean showLimits ) → void
if the dataset contains metadata describing nominal and warning ranges, display them. Currently
this is found in CDF metadata, but should become part of QDataSet.
Parameters
showLimits -
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setSimplifyPaths
setSimplifyPaths( boolean simplifyPaths ) → void
Setter for property simplifyPaths.
Parameters
simplifyPaths - New value of property simplifyPaths.
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setStampPsyms
setStampPsyms( boolean newstampPsyms ) → void
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
setUpdatesPointsPerMillisecond
setUpdatesPointsPerMillisecond( double newupdatesPointsPerMillisecond ) → void
Returns:
void (returns nothing)
search for examples
view on GitHub
view source
updatePlotImage
updatePlotImage( org.das2.graph.DasAxis xAxis, org.das2.graph.DasAxis yAxis, ProgressMonitor monitor ) → void
Do the same as updatePlotImage, but use AffineTransform to implement axis transform. This is the
main updatePlotImage method, which will delegate to internal components of the plot, such as connector
and error bar elements.
Parameters
xAxis - the x axis
yAxis - the y axis
monitor - progress monitor is used to provide feedback
Returns:
void (returns nothing)
search for examples
view on GitHub
view source