vimalavinisha / angular2-google-chart

Angular 2 google chart
MIT License
59 stars 45 forks source link

Not compatible with Ang2 2.0.0-rc.2 #6

Open nanoo-k opened 8 years ago

nanoo-k commented 8 years ago

Following your example while running Ang2 2.0.0-rc.2 leads to a variety of errors. If you are interested in working on this and want me to replicate specific errors, let me know. If you can run this library with 2.0.0-rc.2 without error, then there must be a problem on my end. I do see "angular2": "2.0.0-beta.17" as a dependency in this package.json though.

vimalavinisha commented 8 years ago

Hi, Thanks for your review.. I have changed angular2-google-chart to support angular 2.0.0-rc.3 version. Now you can use this.

Thanks

nanoo-k commented 8 years ago

Great. I gave it a shot again but am having other issues. I'll post the bug I'm looking at right now, but I might pass on using this tool since I've got Google Charts working without it. Take care!

EXCEPTION: Error: Uncaught (in promise): Template parse errors:
Can't bind to 'chartOptions' since it isn't a known native property ("
<h2>Google Charts</h2>

<div id="line_chart",[chartData]="line_ChartData", [ERROR ->][chartOptions] = "line_ChartOptions",chartType="LineChart",GoogleChart></div>
<div id="bubble_chart","): ChartsComponent@10:51
Can't bind to 'chartOptions' since it isn't a known native property ("ns",chartType="LineChart",GoogleChart></div>
<div id="bubble_chart",[chartData]="bubble_ChartData", [ERROR ->][chartOptions] = "bubble_ChartOptions",chartType="BubbleChart",GoogleChart></div>
<div id="scatter_ch"): ChartsComponent@11:55
Can't bind to 'chartOptions' since it isn't a known native property ("chartType="BubbleChart",GoogleChart></div>
<div id="scatter_chart",[chartData]="scatter_ChartData", [ERROR ->][chartOptions] = "scatter_ChartOptions",chartType="ScatterChart",GoogleChart></div>
<div id="candle_c"): ChartsComponent@12:57
Can't bind to 'chartOptions' since it isn't a known native property (",chartType="ScatterChart",GoogleChart></div>
<div id="candle_chart",[chartData]="candle_ChartData", [ERROR ->][chartOptions] = "candle_ChartOptions",chartType="CandlestickChart",GoogleChart></div>
<div id="pie_c"): ChartsComponent@13:55
Can't bind to 'chartOptions' since it isn't a known native property ("s",chartType="CandlestickChart",GoogleChart></div>
<div id="pie_chart",[chartData]="pie_ChartData", [ERROR ->][chartOptions] = "pie_ChartOptions",chartType="PieChart",GoogleChart></div>
<div id="bar_chart",[char"): ChartsComponent@14:49
Can't bind to 'chartOptions' since it isn't a known native property ("rtOptions",chartType="PieChart",GoogleChart></div>
<div id="bar_chart",[chartData]="bar_ChartData", [ERROR ->][chartOptions] = "bar_ChartOptions",chartType="BarChart",GoogleChart></div>

<!-- <div class="four wi"): ChartsComponent@15:49
vimalavinisha commented 8 years ago

Hi, Angular2-google-chart has support ang2.0.0-rc.3 .. Please avoid ',' inbetween html code.