Link Search Menu Expand Document

Line Chart

Line Attributes

Kotlin Xml Description
smooth chart_smoothLine Set it to true to have a smooth line.
lineThickness chart_lineThickness Define the thickness of the line.
lineColor chart_lineColor Define the color of the line.
fillColor N/A Set a foreground color between the line and the bottom of the chart.
gradientFillColors N/A Set a foreground gradient color between the line and the bottom of the chart.

Points Attributes

Kotlin Xml Description
pointsDrawableRes chart_pointsDrawable Drawable to be set on each of the points of the line.