gVis - Google Visualization Library |
[eluser]whobutsb[/eluser]
Congrats! Blame it on the ghost in the machine, happens to me all the time. One minute going along coding everything is fine, refresh, bam nothing works, give up, and go to bed, wake up the next day and refresh, everything works fine! With that all said and done, can you suggest any improvements to the library? I think I'm going to rename set_header to set_column, because that is more relevant to what you are actually doing.
[eluser]naim[/eluser]
I'm very grateful for your help! You can also try to implement overrided add_row($name, $value, $color), maybe some drill-down charts - but that's probably a bigger part to do
[eluser]whobutsb[/eluser]
Drill downs you would need to start implementing javascript events (click) which Google visualization does support. I might take a stab at that one day
[eluser]naim[/eluser]
Great, i will use gvis in my poll generator and in analitical module If you'll make that add_row with color code then the tool will be complete for me
[eluser]whobutsb[/eluser]
Just added the set_colors method: You can use it with the updated gVis Library: http://codeigniter.com/wiki/gVis_-_Googl...n_Library/ Usage: Code: $this->gvis->set_colors('Red', '#00d607', '0044d6'); Cheers!
[eluser]naim[/eluser]
I mean set different colors for different row - could you change that? :-)
[eluser]Andres F.[/eluser]
Fantastic contribution! Tried your library yesterday and it worked like a charm! Thanks for doing this. I might work on the ability to set the Gauge options easily, or if you have that planned for a future release, that would be great. By the way, the wiki shows set_header, but I believe it should be set_heading... didn't want to change it if you plan on setting it back for some reason. Thanks again, Andres
[eluser]Mat-Moo[/eluser]
This is pretty neat library! Lot of options though via this library, I wanted to do filled area chart and wanted to set fill :25%. So I added to the library Code: var $custom = array(); Then it's pretty easy to add custom options, e.g. Code: $this->gvis->add_custom(array("fill" => "25"));
|
Welcome Guest, Not a member yet? Register Sign In |