google charts scroll arrow size too large

309 views
Skip to first unread message

Domek

unread,
Mar 5, 2016, 5:42:54 AM3/5/16
to Google Visualization API
According to the documentation, the legend scroll arrow size is fixed. I experienced a dependence on font size adjustments.
Is there a workaround to adjust the scroll arrow size without making the label font size incredibly small? 

        var options0 = {

           backgroundColor: "none",

        hAxis: {

            textPosition: 'none',

            gridlines: { count: -1},

            title: ''

        },

           'chartArea': {'width': 42*<?php echo $formtreensamples[0];  ?>, 'height': optpercent, 'left':'235', 'top':'30' },

            'legend': {position: 'right', textStyle: {color: '#000000',fontName: 'Optima', fontSize:14}, pagingTextStyle: {color: '#00005A', fontSize:14}, scrollArrows:{activeColor: '#00005A', inactiveColor:'#D5E8E5'} },

          title: ''

        };


This leads to the following undesired result with huge scroll arrows. Are there any ideas to this problem? Thanks!


Screen Shot 2016-03-05 at 11.30.07.png

Daniel LaLiberte

unread,
Mar 7, 2016, 9:18:28 AM3/7/16
to Google Visualization API
Hi Domek,

There is a fix for this problem which you can see if you use the latest version.  https://developers.google.com/chart/interactive/docs/release_notes#october-2-2015

--
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-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@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/c1d82628-3a96-46c5-b45b-fb69db1ff9a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages