This patch just adds support for the "on-click" property to scatter points. It is a simple two line fix that is hardly worth a full patch but it is probably better this way for tracking purposes.
ID #2419117 - Scatter Point On-Click Event
Built with Rev #407 dated 11 December 2008. Patches are uploaded to the SourceForge SVN at OFC2 Patch Tracker
Download a prebuilt SWF and source code on the Downloads page.
As of 11 December 2008:
Scatter Point On-Click Event has NOT been included in OFC2
The chart below demonstrates the patched version displaying a standard OFC2 Scatter Point and a non-standard "dot" style Scatter Point from the Anchor Styles patch. Both points have an "on-click" event defined. Notice that on the standard point, you must click on the line of the circle to activate the on click event. On the "dot" style point you just have to click anywhere on the point.
Here is a link to view the JSON. Here is a quick look at the JSON for the scatter chart:
"elements":[
{ "type": "scatter",
"colour": "#2020DD",
"text": "On Click Test",
"dot-size": 10,
"values" : [
{"x":3, "y":5, "tip":"google", "on-click":"http://www.google.com" },
{"x":4, "y":5, "type":"dot", "tip":"yahoo", "on-click":"http://www.yahoo.com" }
]
}
]