FlashChart and Click Events

With a pointing device such as a mouse, clicking a graphical element triggers a "mouse click" event (or click event). FlashChart now with version 1.2.0 is able to handle click events and may trigger actions. Possible are two types of actions:

  1. navigate via "http" or "https" URLs to internal or external websites
  2. execute javascripts

You define these actions on click events with parameters:

  • onclick - relates to chart elements
  • key_onclick - relates to legend (key) items
  • alert_onclick - relates to chart elements where an "alert" has been triggered

Additionly you now may via new parameter "menu" (which will create a chart menu element) request execution of javascripts.

FlashChart supports actions on click-events in muliple ways. E.g. you may (besides supporting navigation to websites) use flashchart's own javascripts or let flashchart create javascripts to display your charts in a new way.

  • Parameter "create_script" creates javascript for click-Events
  • Javascript "show_modalchart" displays a modal window
  • Javascript "save_image" saves/converts your chart as Image
  • Javascript "print_page" converts chart to Image and calls print dialog (with Microsofts Internet Explorer print dialog is called directly)
  • Javascript "click_parms"shows all available parameters, which are passed by Open FlashChart
  • Javascript "test_click" helps for tests or for creation of popup and modal windows

Following pages show by samples, how you could use this new functionality of flashChart.


Today: 5
Yesterday: 107
This Week: 480
Last Week: 368
This Month: 1,025
Last Month: 1,342
United States 31.4% USA
Germany 18.0% Germany
Russia 4.5% Russia
France 3.5% France
Italy 2.7% Italy
Indonesia 2.7% Indonesia
India 2.3% India
Poland 2.2% Poland




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.