skip to the main content area of this page
In Appreciation of Open Flash Chart

OFC-2 - Shape Enhancements

Open Flash Chart Logo

This patch makes a few enhancements to the Shape Chart Element. It adds the capability to draw lines with or without the area fill, the capability to add gaps in the drawing (lift the pen) and the capability to add a key that is displayed in the Keys legend.

Patch Information

ID #2412790 - Shape Enhancements

Built with Rev #411 dated 13 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 14 December 2008:

Shapes Enhancements have NOT been included in OFC2

Sample Charts

The chart below demonstrates using the enhancements to draw a chart requested by gratefulfrog on the forum.

Three shapes are used to draw the yellow, blue and reddish areas with an alpha of 1 so that they overlay each other in order rather than blend the colors on the overlaps. Notice that they have a key (the "text" value) which is displayed in the Keys legend.

The zero line and tick marks are drawn are drawn with yet another shape which demonstrates drawing a line without an area fill ("alpha" set to zero hides the area fill) and gaps between drawing each of the tick marks.

The triangle and diamond point anchors are included in the Scatter Anchors patch.

Here is a link to view the JSON.

  • View JSON documentation for the Shape Plot Type