CartesianChartHost
Displays a CartesianChart.
Parameters
the CartesianChart.
creates and updates the CartesianChartModel.
the modifier to be applied to the chart.
houses information on the CartesianChart’s scroll value. Allows for scroll customization and programmatic scrolling.
houses information on the CartesianChart’s zoom factor. Allows for zoom customization.
the AnimationSpec for difference animations.
the AnimationSpec for the initial (reveal) animation. Defaults to animationSpec. Set to null to skip the initial animation.
the default height of the coordinate system, to which the heights of the legend, the marker, and other components are added. Used only when the height isn’t otherwise constrained (e.g., via Modifier.height).
shown when no CartesianChartModel is available.
Displays a CartesianChart. This function accepts a CartesianChartModel. For dynamic data, use the function overload that accepts a CartesianChartModelProducer instance.
Parameters
the CartesianChart.
the CartesianChartModel.
the modifier to be applied to the chart.
houses information on the CartesianChart’s scroll value. Allows for scroll customization and programmatic scrolling.
houses information on the CartesianChart’s zoom factor. Allows for zoom customization.
the default height of the coordinate system, to which the heights of the legend, the marker, and other components are added. Used only when the height isn’t otherwise constrained (e.g., via Modifier.height).
Deprecated
Set `initialAnimationSpec` to `null` to skip the initial animation.
Displays a CartesianChart.
Parameters
the CartesianChart.
creates and updates the CartesianChartModel.
the modifier to be applied to the chart.
houses information on the CartesianChart’s scroll value. Allows for scroll customization and programmatic scrolling.
houses information on the CartesianChart’s zoom factor. Allows for zoom customization.
the AnimationSpec for difference animations.
whether to run an initial animation when the CartesianChartHost enters composition. The animation is skipped for previews.
the default height of the coordinate system, to which the heights of the legend, the marker, and other components are added. Used only when the height isn’t otherwise constrained (e.g., via Modifier.height).
shown when no CartesianChartModel is available.