Hi lagvendra The AnnotationChart legend is very different from other chart legends, partly because it is showing the values that you hover over. Unfortunately, there is no way currently to display the legend until you hover over a value, not even by programmatically selecting a value (with setSelection()).
This is a good idea, however, and we can arrange to initially show the legend without values. Related to that, the legend should also show the legend without values when you move the mouse away from the chart after having hovered over a value. On Wed, Jun 11, 2014 at 9:03 AM, crazydeveloper < gangwar.lagvend...@gmail.com> wrote: > I am using Google Chart API to draw the google Visualization > AnnotationChart. > > In this chart the legend of chart is shown whenever anyone hovers on the > chart or select the point value of the chart drawn. > > In the core chart, like LineChart the legend is shown automatically when > the chart is ready. > > How can I show the legend on load in the AnnotationChart as the LineChart > does? > > -- > You received this message because you are subscribed to the Google Groups > "Google Chart API" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to google-chart-api+unsubscr...@googlegroups.com. > To post to this group, send email to google-chart-api@googlegroups.com. > Visit this group at http://groups.google.com/group/google-chart-api. > For more options, visit https://groups.google.com/d/optout. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> - 978-394-1058 dlalibe...@google.com <dlalibe...@google.com> 5CC, Cambridge MA daniel.lalibe...@gmail.com <daniel.lalibe...@gmail.com> 9 Juniper Ridge Road, Acton MA -- You received this message because you are subscribed to the Google Groups "Google Chart API" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-chart-api+unsubscr...@googlegroups.com. To post to this group, send email to google-chart-api@googlegroups.com. Visit this group at http://groups.google.com/group/google-chart-api. For more options, visit https://groups.google.com/d/optout.