lineChart

fun lineChart(context: Context, @StyleRes styleResId: Int = 0): LineChart

Creates a LineChart using the provided List of theme attribute resource identifiers and the given styleResId.

Parameters

context

the context used to retrieve the style information.

styleResId

if not 0, used to retrieve the style information from the provided style resource. The styleResId should define the style of all of the following: R.attr.line1Spec, R.attr.line2Spec, and R.attr.line3Spec. If styleResId is 0, the style attributes are retrieved from Context’s theme.

See also