kvision
Toggle table of contents
8.2.0
js
Platform filter
js
Switch theme
Search in API
kvision
kvision-chart
/
io.kvision.chart
/
TitleOptions
Title
Options
data
class
TitleOptions
(
val
align
:
TitleAlign
?
=
null
,
val
display
:
Boolean
=
false
,
val
position
:
Position
=
Position.TOP
,
val
color
:
Color
?
=
null
,
val
font
:
ChartFont
?
=
null
,
val
padding
:
Int
=
10
,
val
fullSize
:
Boolean
?
=
null
,
val
text
:
List
<
String
>
?
=
null
)
(
source
)
Chart title options.
Members
Members & Extensions
Constructors
Title
Options
Link copied to clipboard
constructor
(
align
:
TitleAlign
?
=
null
,
display
:
Boolean
=
false
,
position
:
Position
=
Position.TOP
,
color
:
Color
?
=
null
,
font
:
ChartFont
?
=
null
,
padding
:
Int
=
10
,
fullSize
:
Boolean
?
=
null
,
text
:
List
<
String
>
?
=
null
)
Properties
align
Link copied to clipboard
val
align
:
TitleAlign
?
=
null
color
Link copied to clipboard
val
color
:
Color
?
=
null
display
Link copied to clipboard
val
display
:
Boolean
=
false
font
Link copied to clipboard
val
font
:
ChartFont
?
=
null
full
Size
Link copied to clipboard
val
fullSize
:
Boolean
?
=
null
padding
Link copied to clipboard
val
padding
:
Int
=
10
position
Link copied to clipboard
val
position
:
Position
text
Link copied to clipboard
val
text
:
List
<
String
>
?
=
null
Functions
to
Js
Link copied to clipboard
fun
TitleOptions
.
toJs
(
i18nTranslator
:
(
String
)
->
String
)
:
dynamic
An extension function to convert configuration class to JS object.