MeasureContext
MeasureContext holds data used by various chart components during the measuring and drawing phases.
Inheritors
Properties
The bounds of the canvas that will be used to draw the chart and its components.
Provides the chart’s ChartValues instances.
Defines how the chart’s content is positioned horizontally.
Whether horizontal scrolling is enabled.
A multiplier used to ensure support for both left-to-right and right-to-left layouts. Values such as translation deltas are multiplied by this value. layoutDirectionMultiplier is equal to 1f
if isLtr is true
, and -1f
otherwise.
The number of pixels corresponding to this number of density-independent pixels, with decimal values discarded.
Functions
Returns the automatic zoom factor for a chart.
Returns the maximum scroll distance.
Converts the provided dimension from sp to px.