Hi Chris, Two charts together looks good, but seems impossible to make the pointer point to 0 - 10 degree, As the gauge chart starts from 10 to 170 degree, 0 - 10 and 170 - 180 are unreachable.
to make my point clearer~~ this is what i want to achieve: http://success.salesforce.com/ideaSearchResults?c=09a30000000D9xt&cof=&cx=&q=10094569&s=10094569&searchType=c&thisSite=&thisSite.x=57&thisSite.y=15 Second issue would be how to display the label with the pointer. continue searching... Regards, Tanya On Fri, Feb 11, 2011 at 12:43 AM, Tanya Li <[email protected]> wrote: > Thanks Chris !! > > Put a Google-o-meter arrow (with a completely transparent background) and a > concentric pie chart into two divs, overlay them by setting absolute > position. > > proved the concept ! > > do details tmr ~~ > > Thanks again > > Tanya > > > > > > > On Fri, Feb 11, 2011 at 12:17 AM, Chris <[email protected]> wrote: > >> I am sorry; I misunderstood you. I thought you wanted to rotate the >> chart 180 degrees. >> >> >> You can do something like this with a concentric pie chart: >> >> >> https://chart.googleapis.com/chart?cht=pc&chs=400x200&chd=t:50,50|50,25,25&chco=FFFFFF|FFFFFF,FFFFFF|FF0000|008000 >> >> >> Perhaps you can use the GD library or an equivalent to overlay the >> Google-o-meter arrow (with a completely transparent background) on top >> of that. >> >> >> https://chart.googleapis.com/chart?chs=400x200&cht=gom&chd=t:70&chco=FFFFFF00,FFFFFF00&chf=bg,s,FFFFFF00 >> >> >> Or you could do something like this, making an arrow of sorts using a >> concentric pie chart: >> >> >> https://chart.googleapis.com/chart?cht=pc&chs=400x200&chd=t:50,32,4,14|50,32,4,14&chco=FFFFFF|FFFFFF|000000|FFFFFF,FFFFFF|FF0000|000000|008000 >> >> Or this: >> >> >> https://chart.googleapis.com/chart?cht=pc&chs=400x200&chd=t:50,32,4,14|50,32,4,14|50,32,4,14&chco=FFFFFF|FFFFFF|000000|FFFFFF,FFFFFF|FF0000|000000|008000,FFFFFF|FFFFFF|000000|FFFFFF >> >> -Chris >> >> >> On Feb 10, 4:47 pm, Tanya Li <[email protected]> wrote: >> > Hi Chris, >> > >> > Not sure whether I understood your answer .... >> > I meant how to make the chart a semi-circle (180 degree), as now the >> chart >> > is less than a semi-circle. >> > >> > Thanks !! >> > >> > Tanya >> > >> > >> > >> > On Thu, Feb 10, 2011 at 9:06 PM, Tanya Li <[email protected]> wrote: >> > > Hi Chris, >> > >> > > Thanks a lot for your reply, I need to put it in an asp page. >> > > Do you have example code of the chart in 180 degree in php? >> > >> > > Tanya >> > >> > > On Thu, Feb 10, 2011 at 8:38 PM, Chris <[email protected]> wrote: >> > >> > >> I don't know of a way to do it using the Google Chart API by itself. >> > >> Since I code with PHP, I would take the image and flip it over using >> > >> the GD library. >> > >> > >> -Chris >> > >> > >> On Feb 10, 11:43 am, Tanya Li <[email protected]> wrote: >> > >> > Hi, >> > >> > >> > Looked into Google-o-meter chart, I have a questions here, >> > >> > >> > Is it possible to make the chart 180 degree ? how to set its degree >> ? >> > >> > Did not find any parameter to do so. >> > >> > >> > Regards & Thanks >> > >> > >> > Tanya >> > >> > >> -- >> > >> You received this message because you are subscribed to the Google >> Groups >> > >> "Google Chart API" group. >> > >> To post to this group, send email to >> [email protected]. >> > >> To unsubscribe from this group, send email to >> > >> [email protected]. >> > >> For more options, visit this group at >> > >>http://groups.google.com/group/google-chart-api?hl=en. >> > >> > > -- >> > > Regards >> > >> > > Xiaohui Li >> > >> > -- >> > Regards >> > >> > Xiaohui Li >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Chart API" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/google-chart-api?hl=en. >> >> > > > -- > Regards > > Xiaohui Li > -- Regards Xiaohui Li -- You received this message because you are subscribed to the Google Groups "Google Chart API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-chart-api?hl=en.
