Forum - jschmidt-systemberatung.de

× php-RGraph and php-rgraph Joomla Content Plugin

Change Bar visibility

  • Tan
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 years 1 month ago #1181 by Tan
Change Bar visibility was created by Tan
Hi All,
How can I change bar visibility with key interactivity? I have control with keys but I can not hidden not related bars as you seen in attachment. :(



Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #1182 by jochen
Replied by jochen on topic Change Bar visibility
hi,
use parameter "keyInteractiveHighlightChartFill" together with "keyInteractive". Use for fill-color same as chart background color. e,g.
... keyInteractive="true" keyInteractiveHighlightChartFill="rgba(255,255,255,1.0)"  ... 
The following user(s) said Thank You: Tan

Please Log in or Create an account to join the conversation.

  • Tan
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 years 1 month ago #1190 by Tan
Replied by Tan on topic Change Bar visibility
Hi again,

Yes you are right. I did with parameter "keyInteractiveHighlightChartFill". thanks for your reply.

I have another additional question with your permission. :)
I changed visibility with this paramater bu how can I set display none other bars?

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #1191 by jochen
Replied by jochen on topic Change Bar visibility
hi,

there is no easy method to do so. But you may use a chart-script tiggered by a click-event or a context-menu to change your chart interactively.

Also pls. have look at www.jschmidt-systemberatung.de/index.php...0&Itemid=659&lang=en or www.rgraph.net/canvas/docs/howto-index.html

Please Log in or Create an account to join the conversation.

  • Tan
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 years 1 month ago #1192 by Tan
Replied by Tan on topic Change Bar visibility
I'll try with chartScript but can you tell me what is bar selector?

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #1193 by jochen
Replied by jochen on topic Change Bar visibility
hi,

E.G. "onclick" will returm an event and the object you have clicked ( chart_name.onclick = function (e, object) { }).

So far I did not develop interactive charts - so you may ask your questions via contact to RGraph's developer ( www.rgraph.net/support.html )  

Please Log in or Create an account to join the conversation.

Time to create page: 0.253 seconds
Powered by Kunena Forum
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.