Bar Data
constructor(point: Point, color: Color = Color.Red, label: String = "", gradientColorList: List<Color> = listOf(Color.Red, Color.Blue), dataCategoryOptions: DataCategoryOptions = DataCategoryOptions(), description: String = if (dataCategoryOptions.isDataCategoryInYAxis) "Value of bar $label is value ${
String.format(
"%.2f",
point.x
)
}" else "Value of bar $label is value ${String.format("%.2f", point.y)}")
Parameters
point
: Axis point
color
: Color of a bar
label
: label of a bar
gradient Color List
: Color list for the gradient bar
description
: Description to describe bar value for accessibility service.