<sbm-graph-pie width="100%" [dataSource]="areas" label='Pie Chart'></sbm-graph-pie>

Attributes

Titulo Tipo Exemplo
label string 'Pie Chart'
dataSource any[] | string [{{'{'}}text: 'Lorem'{{'}'}}] | 'service/pie/data'
export boolean true | false
argumentField string 'country'
valueField string 'value'
width string | number '100%' | 200
height string | number '100%' | 200
texts boolean true | false

Events

Titulo Tipo Retorno
onClick object ElementRef
onLegendClick object ElementRef

<sbm-chart-bar width="100%" [dataSource]="areas" label='Pie Chart'></sbm-chart-bar>

Attributes

Titulo Tipo Exemplo
label string 'Pie Chart'
dataSource any[] | string [{{'{'}}text: 'Lorem'{{'}'}}] | 'service/pie/data'
export boolean true | false
argumentField string 'country'
valueField string 'value'
width string | number '100%' | 200
height string | number '100%' | 200
texts boolean true | false

Events

Titulo Tipo Retorno
onClick object ElementRef
onLegendClick object ElementRef

sbm-series

<sbm-series valueField="orange" name="Orange"></sbm-series>


<sbm-chart-line width="100%" [dataSource]="areas" label='Line Chart'></sbm-chart-line>

Attributes

Titulo Tipo Exemplo
label string 'Pie Chart'
dataSource any[] | string [{{'{'}}text: 'Lorem'{{'}'}}] | 'service/pie/data'
export boolean true | false
argumentField string 'country'
valueField string 'value'
width string | number '100%' | 200
height string | number '100%' | 200
texts boolean true | false

Events

Titulo Tipo Retorno
onClick object ElementRef
onLegendClick object ElementRef

sbm-series

<sbm-series valueField="orange" name="Orange"></sbm-series>