@MESG-COMPONENTS/CHART
Install
npm install @mesg-components/chart
or yarn add @mesg-components/chart
Properties
Chart default properties
-
items:
[Array | Object]
, Required, -> Data to draw at chart -
noTooltip:
Boolean
, the default isfalse
, Optional, -> Don't display tooltip -
credit:
Boolean
, the default isfalse
, Optional, -> Display credit -
noLegend:
Boolean
, the default isfalse
, Optional, -> Don't display legend -
title:
String
, Optional, -> Text title -
titleColor:
String
, Optional, -> Color of title -
titleSize:
Number
the default is36
, Optional, -> Font-size ot title -
optionsTitle:
Object
, Optional, -> Custom title option -
subTitle:
String
, Optional, -> Text sub-title -
subColor:
String
, Optional, -> Color of sub-title -
subSize:
Number
, Optional, -> Font-size ot sub-title -
optionsSub:
Object
, Optional, -> Custom sub-title option