Readonly propsStatic Optional contextIf set, this.context will be set at runtime to the current value of the given Context.
Usage:
type MyContext = number
const Ctx = React.createContext<MyContext>(0)
class Foo extends React.Component {
static contextType = Ctx
context!: React.ContextType<typeof Ctx>
render () {
return <>My context's value: {this.context}</>;
}
}
Gets the actual palette of brushes to use for coloring the chart series.
Gets the actual palette of brushes to use for outlines on the chart series.
Gets or sets if the auto value callouts should be displayed.
Gets or sets the color to use for the background of the component.
Gets or sets the base built in theme to use for the checkbox.
Gets or sets the palette of brushes to use for coloring the dashboard tile. The value provided should be an array of CSS color strings or JavaScript objects defining gradients. Optionally the first element can be a string reading "RGB" or "HSV" to specify the interpolation mode of the collection
Gets the brush to use for the Category axis major strokes, if applicable.
Gets or sets whether annotations are shown along the axis for crosshair values
Gets or sets the crosshairs to be displayed.
Gets a collection where you can add customization that will be applied to the generated visualizations.
Gets or sets a collection of data items used to generate the dashboard tile. The ItemsSource of this dashboard tile can be a list of objects containing one or more numeric properties. Additionally, if the objects in the list implement an enumerable interface, the dashboard tile will attempt to delve into the sub-collections when reading through the data source. Data binding can be further configured by attributing the data item classes with the data intent feature.
Gets or sets the display density to use for the toolbar.
Gets or sets a set of property paths that should be excluded from consideration by the category chart.
Gets the current filter that is applied to the chart. Collection can be updated to modify the filter for the chart. Once filter expressions are in this collection, the chart will no longer listen for changes on their properties.
Gets or sets whether annotations for the final value of each series is displayed on the axis.
Gets the current grouping that is applied to the grid. Collection can be updated to modify the grouping for the grid. Once grouping descriptions are in this collection, the grid will no longer listen for changes on their properties.
Gets or sets the sorts to apply after grouping has been applied.
Gets the current highlight filter that is applied to the chart. Collection can be updated to modify the highlight filter for the chart. Once filter expressions are in this collection, the chart will no longer listen for changes on their properties.
Gets or sets a collection of data items used to generate the dashboard tile. The HighlightedItemsSource of this dashboard tile can be a list of objects containing one or more numeric properties. Additionally, if the objects in the list implement an enumerable interface, the dashboard tile will attempt to delve into the sub-collections when reading through the data source. Data binding can be further configured by attributing the data item classes with the data intent feature.
Gets or sets whether and how to display highlighted values for the series. Note, this is distinct from the highlighting feature that indicates what is closest or under the mouse. This property applies to Category Chart and Financial Chart controls.
Gets or sets a set of property paths that should be included for consideration by the category chart, leaving the remainder excluded. If null, all properties will be considered.
Gets or sets the filter to apply to the chart. This property will become ignored if the filter is changed outside of this property.
Gets the initial filters that are applied to the chart.
Gets the initial groupings that are applied to the chart.
Gets the initial sorts that are applied to the chart after groupings and summaries are applied.
Gets or sets the groupings to apply to the chart. This property will become ignored if sorts are changed outside of this property.
Gets or sets the filter to apply to the chart. This property will become ignored if the filter is changed outside of this property.
Gets the initial highlight filters that are applied to the chart.
Gets the initial sorts that are applied to the chart.
Gets or sets the sorts to apply to the chart. This property will become ignored if sorts are changed outside of this property.
Gets or sets the summaries to apply to the chart. This property will become ignored if sorts are changed outside of this property.
Gets the initial summaries that are applied to the chart.
Gets or sets the palette of brushes to use for outlines on the dashboard tile. The value provided should be an array of CSS color strings or JavaScript objects defining gradients. Optionally the first element can be a string reading "RGB" or "HSV" to specify the interpolation mode of the collection
Gets the currently selected data items. Adding or removing data items from this collection will select or deselect the visuals associated with those items.
Gets or sets whether annotations for the final value of each series is displayed on the axis.
Gets or sets whether the dashboard tile should display mock data when the data source has not been provided, if supported for this type of chart.
Gets or sets whether the dashboard tile should use a faded skeleton style for mock data.
Gets the current sort that is applied to the grid. Collection can be updated to modify the sort for the grid. Once sort descriptions are in this collection, the grid will no longer listen for changes on their properties.
Gets the current summaries that are applied to the grid.
Gets or sets text to display above the plot area.
Gets or sets the palette of brushes to used for coloring trend lines in this chart. The value provided should be an array of CSS color strings or JavaScript objects defining gradients. Optionally the first element can be a string reading "RGB" or "HSV" to specify the interpolation mode of the collection
Gets or sets the formula used for calculating trend lines in this chart. This property applies only to these chart types: point, line, spline, and bubble
Gets or sets what trendlines to use in the chart.
Gets or sets the crosshairs to be displayed.
Gets the current set of valid visualization types for the data.
Gets or sets what value lines to use in the chart.
Gets or sets the palette of brushes to use for coloring the value lines present in the ValueLines property. The value provided should be an array of CSS color strings or JavaScript objects defining gradients. Optionally the first element can be a string reading "RGB" or "HSV" to specify the interpolation mode of the collection
Gets or sets the color for GlobalAverage value lines.
Gets or sets the color for GlobalMaximum value lines.
Gets or sets the color for GlobalMinimum value lines.
Gets or sets the crosshairs to be displayed.
Optional UNSAFE_Called immediately before mounting occurs, and before Component#render.
Avoid introducing any side-effects or subscriptions in this method.
This method will not stop working in React 17.
Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.
16.3, use componentDidMount or the constructor instead
Optional UNSAFE_Called when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes.
Calling Component#setState generally does not trigger this method.
This method will not stop working in React 17.
Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.
16.3, use static getDerivedStateFromProps instead
Optional UNSAFE_Called immediately before rendering when new props or state is received. Not called for the initial render.
Note: You cannot call Component#setState here.
This method will not stop working in React 17.
Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.
16.3, use getSnapshotBeforeUpdate instead
Optional componentOptional componentCalled immediately after updating occurs. Not called for the initial render.
The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.
Optional componentCalled immediately before mounting occurs, and before Component#render.
Avoid introducing any side-effects or subscriptions in this method.
Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.
16.3, use componentDidMount or the constructor instead; will stop working in React 17
Optional componentCalled when the component may be receiving new props. React may call this even if props have not changed, so be sure to compare new and existing props if you only want to handle changes.
Calling Component#setState generally does not trigger this method.
Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.
16.3, use static getDerivedStateFromProps instead; will stop working in React 17
Optional componentCalled immediately before rendering when new props or state is received. Not called for the initial render.
Note: You cannot call Component#setState here.
Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps prevents this from being invoked.
16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17
Optional getRuns before React applies the result of render to the document, and
returns an object to be given to componentDidUpdate. Useful for saving
things such as scroll position before render causes changes to it.
Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated lifecycle events from running.
Static _create
If using the new style context, re-declare this in your class to be the
React.ContextTypeof yourstatic contextType. Should be used with type annotation or static contextType.