MinMaxFinder
import {MinMaxFinder} from 'cx/charts';The MinMaxFinder widget is a helper used to determine min and/or max values displayed on a graph.
<Svg style="width:600px;height:500px;" margin="60 60 60 60" controller={ChartController}>
<Chart axes={{
x: <NumericAxis />,
y: <NumericAxis vertical/>,
}}>
<Gridlines />
<MinMaxFinder minY-bind="$page.min" maxY-bind="$page.max">
<Range y1-bind="$page.min" y2-bind="$page.max" colorIndex={5} />
<LineGraph data-bind="$page.data" colorIndex={5} />
</MinMaxFinder>
</Chart>
</Svg>| Property | Description | Type |
|---|---|---|
maxRecord | A binding used to receive point data of the graph maximum. | number |
maxX | A binding used to receive the | number |
maxY | A binding used to receive the | number |
minRecord | A binding used to receive point data of the graph minimum. | number |
minX | A binding used to receive the | number |
minY | A binding used to receive the | number |
onCreatePointFilter | A callback function used to create a predicate for filtering points. Accepts | object |
filterParams | Parameters which will be passed to the | object |
items | List of child elements. | array |
layout | Define an inner layout. | string/object |
mod | Appearance modifier. For example, | string/array |
outerLayout | Defines the outer layout which wraps the widget. | widget |
plainText | Set to | boolean |
preserveWhitespace | Keep whitespace in text based children. Default is | boolean |
putInto | Used with outer layouts. Specifies the name of the content placeholder which should render the widget. | string |
trimWhitespace | Remove all whitespace in text based children. Default is | boolean |
vdomKey | Key that will be used as the key when rendering the React component. | string |
visible | Visibility of the widget. Defaults to | boolean |