Is it possible to have a OFC filter so that when the user writes [ofc type=A data=(x:1,2,3;y:1,4,9)] a chart will be displayed in the post?

Comments

ernest.park’s picture

We did something similar using Javascript. The user selects everything to include for the Y and X axis, then selects the output type, and the label details.

THe output is a bar, stacked bar, line or area, depending on the user selections.

This works, just takes some creative coding to do. There is no place to pass a string to OFC1. In OFC2, it supports JSON, so if your user passed JSON to the chart, they could get whatever they want.

That being said, JSON is a simple version of XML, still complicated.

Build a way for a user to select some options, then pass those into your PHP to output the chart they requested.

Go to the OFC forum for help.

http://forums.openflashchart.com/

pedrorocha’s picture

Status: Active » Closed (won't fix)

As said in the module description, no more improvements will be made here, since Open Flash Chart project is abandoned.