Closed (outdated)
Project:
Charts
Version:
7.x-2.x-dev
Component:
Chart API
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 May 2014 at 10:24 UTC
Updated:
11 Mar 2025 at 20:07 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sjs205 commentedComment #2
Pierre.Vriens commentedSorry it took so long to get back to this issue (I only recently became a new maintainer), but thank you @sjs205 for this patch. I've done a first review of the submitted patch, and think we should indeed consider adding support for this extra chart type. Which is why I already added the parent link for now.
However, there is some extra work to do to get this moving forward, i.e.:
Not sure if that's all that will be needed, but at least they seem prereqs to me to move forward with it.
PS: #1876664: Google Chart Gauge Feature Request seems an interesting similar issue ...
Comment #3
Pierre.Vriens commentedI'd like to try getting this new type of chart supported in the 7.x-2.x release already ... anybody out there to submit a patch for the (still missing) HC-equivalent?
Comment #4
sjs205 commentedHello,
Apologies, I clearly can't have looked at that patch after I created it.
I have recreated the patch against charts-7.x-2.0-rc1. Please see attached.
I will try to get something together for highcharts - I've never actually tried the highcharts library...
Many thanks, and apologies for the abysmal initial patch.
Steven
Comment #5
lahode commentedHi, thanks for your patch! (So lucky you posted it yersterday)
I tried to test it, but it seems so different options needed for each chart type, could you please provide a simple exemple on how to create a gauge chart with the API?
Thank you in advance
Cheers
Comment #6
lahode commentedHi again,
I figured out my problem, I was using highcharts instead of Google charts, that's why nothing came up:
For those interested, here is an quick example. However, please notice that the Green doesn't show up
Comment #7
sjs205 commented"please notice that the Green doesn't show up"
Green works perfectly for me. Try setting 'greento' to 1 rather than 0...
Comment #8
jiintac commentedHi, is there an official release for gauge chart?
Comment #9
thedut commentedHello,
This patch replace previous ones and add UI support for defining colors section of the gauge, see picture.
it is functionnal, but it still need some work :
Comment #10
thedut commentedComment #11
bluegeek9 commentedThank you for your contributions to this issue. As Drupal 7 has reached its End of Life and is no longer supported, we are closing this issue. We encourage you to upgrade to a supported version of Drupal.