Commit 3b831dc4630f978b81e8ab45ccd180b28e02998c

Authored by pina
1 parent ee78f148

add title tho the pie chart

datalets/donutpie3dchart-datalet/donutpie3dchart-datalet.html
... ... @@ -80,10 +80,7 @@ Example:
80 80 }
81 81 },
82 82 title: {
83   - text: ""
84   - },
85   - subtitle: {
86   - text: '3D Donut pie chart'
  83 + text: "" + this._component.title
87 84 },
88 85 plotOptions: {
89 86 pie: {
... ... @@ -128,7 +125,18 @@ Example:
128 125 behavior : {
129 126 type : Object,
130 127 value : {}
131   - }
  128 + },
  129 + /**
  130 + * It's the title of the chart
  131 + *
  132 + * @attribute title
  133 + * @type Strig
  134 + * @default ''
  135 + */
  136 + title: {
  137 + type: String,
  138 + value: ""
  139 + },
132 140 },
133 141  
134 142 /**
... ...