-
public final class DoublePointChartKt
-
-
Method Summary
Modifier and Type Method Description final static UnitDoublePointChart(List<Pair<Number, Number>> data, DoublePointChartStyle style, XAxisLabels xAxisLabels, YAxisLabels yAxisLabels, YScale yScale, Function0<Unit> header, List<CanvasDrawable> decorations, Map<Integer, DoublePointChartDataPointStyle> dataPointStyles, String basicChartContentDescription, String dataSizeContentDescription, String dataPointMinPrefixContentDescription, String dataPointMaxPrefixContentDescription, String dataPointSuffixContentDescription)Composable that displays double point chart -
-
Method Detail
-
DoublePointChart
@Composable() final static Unit DoublePointChart(List<Pair<Number, Number>> data, DoublePointChartStyle style, XAxisLabels xAxisLabels, YAxisLabels yAxisLabels, YScale yScale, Function0<Unit> header, List<CanvasDrawable> decorations, Map<Integer, DoublePointChartDataPointStyle> dataPointStyles, String basicChartContentDescription, String dataSizeContentDescription, String dataPointMinPrefixContentDescription, String dataPointMaxPrefixContentDescription, String dataPointSuffixContentDescription)
Composable that displays double point chart
- Parameters:
data-list of data to display. Pair.first should be min. Pair.second should be max.
style-styling of the chart such as padding, canvasPadding, defaultDataPointStyle and axes label visibility
xAxisLabels-label of the xAxis to display. Must have the same size as data.
yAxisLabels-labels of the yAxis to display.
yScale-where the chart begins and ends on the yAxis
header-composable to display above the chart
decorations-list of decorations to draw into the chart such as com.jaikeerthick.composable_graphs.decorations.BackgroundHighlight
dataPointStyles-map that allows to override DoublePointChartStyle.defaultDataPointStyle
basicChartContentDescription-part of content description when the chart as a whole is selected. Should be something like: This is double point chart of...
dataSizeContentDescription-part of content description when the chart as a whole is selected. Should inform the user how many records are on the chart
dataPointMinPrefixContentDescription-content description read before min of data point. Should be something like Minimum of. Also YAxisLabels.yAxisPointDescriptionSuffix should be empty.
dataPointMaxPrefixContentDescription-content description read before max of data point. Should be something like Maximum of. Also YAxisLabels.yAxisPointDescriptionSuffix should be empty.
dataPointSuffixContentDescription-content description read after min and max of data point. Should be a unit like steps. Also should be used instead of YAxisLabels.yAxisPointDescriptionSuffix which should be empty.
-
-
-
-