For a pie chart, this means a big border (over 10 pixels) is added
around the chart, without any way to disable this.
You can specify the width and height (of top/left offset) of the chart
within the canvas (containing element). I have set these to 100%,
making the pie chart exactly as big as the canvas. However without any
means of disabling the added border, these are cut off and only
visible in the corners of the chart.
Can I disable the border? If so; how?
If not; what is the exact size? So I can make my chart smaller so it
will fit. (Onclick the border becomes even larger)
Or; can you automatically make the chart smaller to reserve space for
the border? Not recommended.
--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To post to this group, send email to google-visua...@googlegroups.com.
To unsubscribe from this group, send email to google-visualizati...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en.
However I think you should be able to only disable/configure the
border, as it conflict with other features and is not backward
compatible.
On 13 dec, 19:46, Riccardo Govoni ☢ <battleho...@gmail.com> wrote:
> Try passing this option to your pie chart. This will disable the border,
> but will also cause the chart to lose other interactivity-related events,
> such as the tooltips when moving the mouse over the pie slices.
>
> enableInteractivity: false
>
> - R.
>
Having the chart area settings negatively affect the visibility of part of the chart (I consider the border highlight to be part of it) sounds like a bug anyway.
I created an example here to highlight it: http://savedbythegoog.appspot.com/?id=f0c78d7addfa1b3d966da9781871f830dc7db049
(border cut in top and left margins).
And a bug to track the issue: http://code.google.com/p/google-visualization-api-issues/issues/detail?id=756
- R.