Hi Sergey, Thanks you so much for your quick response. dataArray[2] is a type of DataTable only and which is generated dynamically from code behind. And one more clarification is legend position supported by Material Charts? Anyway i going to refer that link which is given by you. Please add some more points that are already which is very useful for me.
Thanks again Natarajan Govindavel and On Thursday, January 21, 2016 at 10:23:07 PM UTC+5:30, Sergey wrote: > > Hi Natarajan, > > The first difference between the two is that the latter is a combo chart. > This means that it supports multiple series types, like line, scatter, bar, > and candlestick; where the first chart (google.charts.Bar) only supports > bars. > > The second difference is that google.charts.Bar is a Material Chart, > which effectively just means that it follows the Material Design > specification <https://design.google.com/>, and > google.visualization.{BarChart,ColumnChart,ComboChart} are our "Classic" > Charts, which means that they precede Material Design. > > The Material Charts are newer, which also means that they don't support a > lot of the features that the Classic Charts do. Here is a bug tracking > all the unsupported features > <https://github.com/google/google-visualization-issues/issues/2143>. Note > that "annotations" are on that list, which answers your last question: you > currently cannot add annotations to Material Charts. > > On a side note, I'm not sure where you got the example that passes > "dataArray[2]" to the Material Chart's draw call, but that seems wrong. It > takes a DataTable, exactly like the Classic Charts do. > > On Thu, Jan 21, 2016 at 8:53 AM natarajan govindavel <natara...@gmail.com > <javascript:>> wrote: > >> var chart = new google.charts.Bar(document.getElementById('div_id_3')); >> chart.draw(dataArray[2], >> google.charts.Bar.convertOptions(options2)); >> >> And >> >> google.visualization.ComboChart(document.getElementById('chart_div')); >> >> chart.draw(view,options) >> >> what is the different between these two? >> >> How to add Annotation text for first one >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Visualization API" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to google-visualization-api+unsubscr...@googlegroups.com >> <javascript:>. >> To post to this group, send email to google-visua...@googlegroups.com >> <javascript:>. >> Visit this group at >> https://groups.google.com/group/google-visualization-api. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/google-visualization-api/cdc705b3-181b-4028-b924-bd88cfafbd43%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-visualization-api/cdc705b3-181b-4028-b924-bd88cfafbd43%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > -- > > *[image: unnamed.gif]• Sergey Grabkovsky• Software Engineer• Google, Inc• > gra...@google.com <javascript:>* > > -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/20475da1-41c4-4cd4-af5e-ecf04a5254ff%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.