Re: [visualization-api] Re: Google-chart legend item alignment

2018-04-09 Thread 'Maciej Golkowski' via Google Visualization API
I tried suggestion with adding spaces however, it seems like api trims them
:D
http://jsfiddle.net/19o19aco/8/
I will just stick to paged legend positioned on the side, oh well.
Thanks for Your response.


On 6 April 2018 at 15:51, Sean Larson  wrote:

> Got it. I also thought about custom aligning every entry, but I am not
> sure if GC supports that and JQuery does not play nice with SVG elements,
> so we should tackle this before rendering if there are no mix of attributes
> that achieve what we want.
>
> You could determine the longest legend string prior to drawing the chart,
> and based on the length of each string add spaces to make them all an
> identical length?
>
> But I am thinking it is not a great practice to display so many legend
> entries? When they hover over each block, doesn't it display the series
> name and value? If not you can add tooltip attributes in the options
> variable, or write a custom toolitp, see this link
> https://www.dropbox.com/s/1szgg7bbe0b0aea/custom%20tooltip.PNG?dl=0
>
> I usually use Excel as a benchmark. What does it look like when you load
> this data into Excel?
>
>
> --
> 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/a603daaa-9cb5-4626-906f-
> 328b8a45a8ee%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CADgmSWw0u3i2ufdQvsfj67C4gxt7S4wDGjN_b26Ha0PYYg_P4Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [visualization-api] Re: Google-chart legend item alignment

2018-04-06 Thread Sean Larson
Got it. I also thought about custom aligning every entry, but I am not sure 
if GC supports that and JQuery does not play nice with SVG elements, so we 
should tackle this before rendering if there are no mix of attributes that 
achieve what we want.

You could determine the longest legend string prior to drawing the chart, 
and based on the length of each string add spaces to make them all an 
identical length?

But I am thinking it is not a great practice to display so many legend 
entries? When they hover over each block, doesn't it display the series 
name and value? If not you can add tooltip attributes in the options 
variable, or write a custom toolitp, see this 
link https://www.dropbox.com/s/1szgg7bbe0b0aea/custom%20tooltip.PNG?dl=0

I usually use Excel as a benchmark. What does it look like when you load 
this data into Excel?


-- 
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/a603daaa-9cb5-4626-906f-328b8a45a8ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.