data class LegendLabelOptions
Chart legend label options.
LegendLabelOptions(boxWidth: Int = 40, fontSize: Int = 12, fontStyle: FontStyle? = null, fontColor: Color? = null, fontFamily: String? = null, padding: Int = 10, generateLabels: ((chart: Any) -> Any)? = null, filter: ((legendItem: Chart.ChartLegendLabelItem, data: Chart.ChartData) -> Any)? = null, usePointStyle: Boolean = false)
Chart legend label options. |
val boxWidth: Int |
|
val filter: ((legendItem: Chart.ChartLegendLabelItem, data: Chart.ChartData) -> Any)? |
|
val fontColor: Color? |
|
val fontFamily: String? |
|
val fontSize: Int |
|
val fontStyle: FontStyle? |
|
val generateLabels: ((chart: Any) -> Any)? |
|
val padding: Int |
|
val usePointStyle: Boolean |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |
|
fun LegendLabelOptions.toJs(): dynamic
An extension function to convert configuration class to JS object. |