Closed (outdated)
Project:
Charts and Graphs
Version:
6.x-2.6
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
13 Dec 2010 at 09:42 UTC
Updated:
21 Apr 2016 at 14:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
hish commentedalso I am using amChart and I wont to render a graph like this
I mean columns and lines it is support with chart and graph module
@ethiaa it is work with you ?
Thanks
Comment #2
ethiaa commentedAfter sifting through the charts and graphs code, it looks unsupported at present so I'm just doing my own amCharts implementation instead.
Comment #3
rsevero commentedCharts and Graphs already has support for arbitrary options since version 6.x-2.0-beta1. Please take a look at the "Arbitrary settings" sections in each charting library Advanced Help page for details.
Comment #4
hish commented@rsevero can you provide me an example how to use chart_series and chart_graph variable in the amchart module
I wont to display 2 graph inside one canvas bar and line .
for example
the columns display the monthly income and outcome
and the line display the differences between income and outcome .
can I do it using chart_series and chart_graph variable ?
Many Thanks
Comment #5
ethiaa commentedThe arbitrary settings are great but don't allow you to influence the data attributes which was why I posted the support request in the first place. Through digging at amCharts, it appears you can however put the data itself into the settings string in amCharts which in theory would allow you to implement the event_* attributes. It's rather long winded to do that way however. All in all, I found it quicker just to write my own amCharts handler which passed the data in the way I wanted it.
Comment #6
rsevero commentedAren't you interested in producing a patch to implement event attributes support for Charts and Graphs?
Comment #7
hish commentedI read at the amChart documentation and I find we can define the types of chart at the settings file
depend on the chart id .
for example I have 3 series of data something like this
one and tow represented as column three as line, but when instantiate a new object of class charts_graphs_amcharts you can set only one type so the three series appear as column .
so I write a simple patch for the charts_graphs_amcharts class that give the chart id in the data file .
and then you can send the chart type and other settings using arbitrary settings .
and this is a full example using arbitrary settings .
see the screenshot and the patch
Comment #8
hish commentedyes after all this module really awesome thank you guys
but you can add more options, I can help if you interesting
Comment #9
Wisal-1 commentedHi, i am using amcharts (line) in my custom module, it works fine but now i want to display y-axis on both side (2 y-axis)......how to do this?......................Thanks
Comment #10
rsevero commentedhish solution implemented with http://drupalcode.org/project/charts_graphs.git/commit/7bdef4a
Thanks for the patch and sorry for the delay.
@hish: please send more ;)
Comment #11
kenorb commentedClosed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.