chart options "responsive" has not (yet) been implemented - I have to look into this. Anyway this does only help with text and not with canvas-graphics. Canvas Size (width and height) must be set to number of pixels. (e.g. if you specify "100%" size will be set to "100"). You may google about this - you will find lots of discussions about this topic..
There is no easy standard way from a server (php) perspective to find out the pixel-size of your document area within a browser client window,, in order to set canvas size to a desired value.
So the best and easiest way is in my opinion to leave it to the user.
jochen wrote: 2.you cannot use percent values for width or height (html5 'canvas' doesnot support this)
Maybe found solution, but i'm not sure that can be used with joomla plugin and for sure i dont know how to properly implement the code....Simplest example can be found in offline RGRAPHs demos under name "A responsive Horizontal Bar chart"
They seems to be using responsive function to define graphs size as well fonts sizes according to screen resolutions. But i have to define them manually. Code looks like this...not sure that i can use it in this formatting...
here some hints to your questions:
1. you may of course have any number of copies of db php-script (you call it via your its name in url-parameter)
2.you cannot use percent values for width or height (html5 'canvas' doesnot support this)
3.you found it: - its done by labelsAbove="true"
4.what do you mean with "text description of bars" (you mean tooltips)?
1) if i want more graphs i guess just copy getJsonDatafromDB.php and rename it to for example getJsonDatafromDB1.php and then edit mysql code in it and in another article just call new getJsonDatafromDB1.php file.....
2)can i use % of width and height in defining graph sizes? because in flashchart its working great, charts are dynamicaly changing size according to browser window and height according to number of records. I tried to change default width in backend plugin settings, but it won't allow me enter %, only numbers are accepted. Height in % would be great too. Should i use code in article, or its there a way how to set it in plugin backend?
Tried using 100% width in article code and it only shinked graph size....
3)any quick tip how to show numbers on the right side of graph bars? some numbers are really low compared to highest and bar sizes are too tiny to even click on them by mouse to see value
4)how to make show whole text description of bars in chart? tried to change Default left margin to 50 in plugin backend, it helped a little bit, but increasing this number even higher has zero effect.
Open Source Matters is the non-profit organization that provides organizational, legal and financial support for the Joomla! open-source project. It is responsible for all project activities that are not the responsibility of the production working group or the community working group. These include areas such as operations management, events, the shop, marketing, and public relations in addition to brand management and licensing issues.
Written by two long time Joomla! project contributors with years of experience building Joomla! websites, the book explains website design and structure and how to use Joomla! to create an effective online presence.
The Official Joomla! Book offers an explanation of the Joomla! project and community, with information on the official sites, how to use them, and the many ways people of all experience levels can become participants and contributors. The book provides helpful step by step instructions and direction for those without any experience in creating websites, as well as tips and information for experienced web administrators and creators.
Joomla extensions help extend the Joomla websites' ability. There are five types of extensions for Joomla!: Components, Modules, Plugins, Templates, and Languages. Each of these extensions handles a specific function.
Over 7,700 free and commercial extensions are available from the official Joomla! Extension Directory, and much more are available from other sources.