GrantMStevens / amCharts-Angular

Angular directive for amCharts library
Apache License 2.0
63 stars 39 forks source link

graph gauge #56

Closed guilhermefsreis closed 7 years ago

guilhermefsreis commented 8 years ago

It does not work for the graphic o.type === gauge:

// instantiate new chart object if (o.type === 'xy') { chart = o.theme ? new AmCharts.AmXYChart(AmCharts.themes[o.theme]) : new AmCharts.AmXYChart(); } else if (o.type === 'pie') { chart = o.theme ? new AmCharts.AmPieChart(AmCharts.themes[o.theme]) : new AmCharts.AmPieChart(); } else if (o.type === 'funnel') { chart = o.theme ? new AmCharts.AmFunnelChart(AmCharts.themes[o.theme]) : new AmCharts.AmFunnelChart(); } else if (o.type === 'radar') { chart = o.theme ? new AmCharts.AmRadarChart(AmCharts.themes[o.theme]) : new AmCharts.AmRadarChart(); } else { chart = o.theme ? new AmCharts.AmSerialChart(AmCharts.themes[o.theme]) : new AmCharts.AmSerialChart(); }