Prevent pagination in legend

1,524 views
Skip to first unread message

Tales Breno

unread,
Jan 16, 2017, 2:56:44 PM1/16/17
to Google Visualization API

The legend in my chart is making a listing of all items creating pagination, like this:





But I would like it to look like this (but positioned below the graph):


Daniel LaLiberte

unread,
Jan 16, 2017, 3:52:47 PM1/16/17
to Google Visualization API
Sorry, but Google Charts doesn't have an option to draw the legend that way.  

The best you could do to work around this deficiency is to draw the chart twice, once with the legend off, and once with the legend on the right side and shrink the chart to have 0 width.  

--
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+unsub...@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/3908ca52-2d33-40e7-b356-9c7ebd5913fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

pavan raju

unread,
Jun 30, 2017, 6:05:54 AM6/30/17
to Google Visualization API
Hi team,


 Actually iam using google visualization dougnut  chart,

 my option are like this 

          var options = {
              pieHole: 0.5,
              chartArea: { left: 10, top: 40, width: "95%", height: "70%" },
              legend: { position: 'bottom', maxLines:5,textStyle:{ color: 'white',fontSize: 11},alignment:'center' },
              'tooltip': { trigger: 'none' },
              height: 430,
              backgroundColor: { fill: 'transparent' },
              pieSliceTextStyle: { color: 'black', text: 'test' }
          }; 


I'am want legend at bottom .  I am seeing the legends at the bottom,

the issue is legends are showing with pagiantion at bottom in one line.


On Tuesday, January 17, 2017 at 2:22:47 AM UTC+5:30, Daniel LaLiberte wrote:
Sorry, but Google Charts doesn't have an option to draw the legend that way.  

The best you could do to work around this deficiency is to draw the chart twice, once with the legend off, and once with the legend on the right side and shrink the chart to have 0 width.  
On Mon, Jan 16, 2017 at 2:56 PM, Tales Breno <talesb...@gmail.com> wrote:

The legend in my chart is making a listing of all items creating pagination, like this:





But I would like it to look like this (but positioned below the graph):


--
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+unsub...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.



--
Reply all
Reply to author
Forward
0 new messages