need add one parameter twice in gauge charts element

36 views
Skip to first unread message

Javi Orozco

unread,
Feb 26, 2015, 1:50:28 PM2/26/15
to google-visua...@googlegroups.com
how apply twice one parameter?

in gauge chart element

I was trying  as here------> var options = {
                                                width: 600, height: 300,
                                                redFrom: 0, redTo: 10,
                                                redFrom: 90, redTo: 100,
                                                yellowFrom:75, yellowTo: 90,
                                                minorTicks: 5
                                          };        //

Need two times the red part.


Thanks a lot. :D

Jon Orwant

unread,
Feb 28, 2015, 6:24:10 PM2/28/15
to google-visua...@googlegroups.com
Use redFrom, redTo, yellowFrom, yellowTo, greenFrom, as greenTo you would normally but set redColor and yellowColor to the same value.

Jon

--
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 http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Javi Orozco

unread,
Mar 1, 2015, 10:45:13 PM3/1/15
to google-visua...@googlegroups.com
no Jon i need the red part two times in different values :c

Jon Orwant

unread,
Mar 1, 2015, 11:39:58 PM3/1/15
to google-visua...@googlegroups.com
What I suggested will work.  yellowFrom and yellowTo can be any color you set yellowColor to. For instance, red.

Jon

On Sun, Mar 1, 2015 at 10:45 PM, Javi Orozco <guaxyo...@gmail.com> wrote:
no Jon i need the red part two times in different values :c

--

Javi Orozco

unread,
Mar 1, 2015, 11:59:38 PM3/1/15
to google-visua...@googlegroups.com
i need see a example please
thanks

--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/PPAEgyz-Iq0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages