dundas.controls.ChartTypeBase Class

The chart type base class for defining each chart type's capabilities.
 

Inheritance Hierarchy

 
Class
   dundas.controls.ChartTypeBase
      dundas.controls.ChartTypeBar
      dundas.controls.ChartTypeBubble
      dundas.controls.ChartTypeHeatMap
      dundas.controls.ChartTypeLine
      dundas.controls.ChartTypePie
      dundas.controls.ChartTypePoint
 

Constructors

 
  Name Description
init Initializes the chart type base. Called during construction.
 
 

Properties

 
  Name Description
chart Gets the chart this instance is plotting within.
hasDataChanged Gets a value indicating whether the series assigned to this chart type or their values have changed since the chart was last drawn.
isYCumulative Gets or sets a value indicating whether this chart type plots data points that each begin along the Y axis where the previous ended, at different X axis positions.
isYStacked Gets or sets a value indicating whether this chart type stacks data points of different series at the same X axis position on top of previous series along the Y axis.
isYStacked100 Gets or sets a value indicating whether this chart type stacks data points of different series at the same X axis position on top of previous series as percentages of the stack total. This value only has an effect if isYStacked returns true.
 
 

Methods

 
  Name Description
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getCanMissTest Gets a value indicating whether this chart type supports finding the nearest data point to a pixel position when no exact hit test result is found.
getIsClusteredByDefault Gets a value indicating whether clusters of space around each X axis value should be reserved for the series of this chart type.
getIsClusteredSideBySideByDefault Gets a value indicating whether the series of this chart type should be positioned side-by-side within a cluster without clusterIndex or clusterMapping used on series.
getIsClusterSingleItem Gets a value indicating whether there is room for only one item per cluster for this chart type.
getIsMarkerHollow Gets a value indicating whether the marker's fill should be omitted and the fill color applied to the stroke instead.
getIsMarkerPlotPending Gets a value indicating whether the markers for this chart type need to be plotted separately from the data points.
getIsMarkerPlotted Gets a value indicating that markers should be plotted regardless of marker enabled settings if customized by this chart type.
getIsMarkerSupported Gets a value indicating whether this chart type supports displaying markers at the positions of the values returned by getPlottedXValues and getPlottedYValues.
getIsPaletteAppliedToPoints Gets a value indicating whether the chart's palette is applied in sequence to the points of this chart type's series.
getIsSeriesConnected Gets a value indicating whether the data points of series are plotted as connected in sequence.
getIsYClustered Gets a value indicating whether the Y axis values are clustered for this chart type.
getIsYCumulativeByDefault Gets a value indicating whether by default the data points should each begin where the previous ended regardless of their X axis positions. This value only has an effect if isYStacked returns true.
getIsYRangeSupported Gets a value indicating whether this chart type supports plotting a range between two Y axis positions.
getIsYStacked100ByDefault Gets a value indicating whether by default the data points of different series at the same X axis position should be stacked as percentages of the stack total. This value only has an effect if isYStacked returns true.
getIsYStackedByDefault Gets a value indicating whether by default the data points of different series at the same X axis position should be stacked on top of previous series along the Y axis.
getIsYStartedFromZero Gets a value indicating whether the Y axis must include zero when this chart type is used to plot data against it.
getKeywordMappings Gets an object with keywords available for this chart type as keys and functions as values that can be called to return keyword values.
getKeywordValue Gets the value for the specified keyword for a data point.
getMarkerHeight Gets the height of the markers in pixels for this data point if customized by this chart type.
getMarkerShape Gets the shape of the markers in pixels for this data point if customized by this chart type.
getMarkerWidth Gets the width of the markers in pixels for this data point if customized by this chart type.
getPlottedXRange Gets the values plotted representing the full range of values for the specified series along the X axis.
getPlottedXValues Gets the values plotted for this data point along the X axis.
getPlottedYRange Gets the values plotted representing the full range of values for the specified series along the Y axis.
getPlottedYValues Gets the values plotted for this data point along the Y axis.
getPointSize Gets the size of a data point in pixels to use for percentage-based size properties.
getProperties Gets an object containing the names of additional properties that can be set on a ChartSeries or applicable ChartPoint when displayed using this chart type.
getRoundedMarkerPixels Modifies the plotted marker center and size to round the marker edges.
getXAxisLocation Gets the location of the X axis required by this chart type. Only chart types returning the same value will be compatible.
getXScaleValueCount Gets the number of values passed to the X axis scale by this chart type.
getXValueCount Gets the number of values plotted against the X axis by this chart type.
getYAxisLocation Gets the location of the Y axis required by this chart type. Only chart types returning the same value will be compatible.
getYScaleValueCount Gets the number of values passed to the Y axis scale by this chart type.
getYValueCount Gets the number of values plotted against the Y axis by this chart type.
invalidateData Notifies the chart type that the series assigned to it or their values have changed.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.