Announcement

Collapse
No announcement yet.

What chart library does SC use?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • What chart library does SC use?

    What charting library is SC using?

    Is there documentation for it somewhere?

    I need to chart 5 values in ONE line chart, with vertical markers for an event.

  • #2
    Is it FusionCharts.js?

    Is there a way to acquire the chart instance in a ScriptCase summary chart so that it can be modified?

    Comment


    • #3
      Originally posted by Giblet535 View Post
      Is it FusionCharts.js?

      Is there a way to acquire the chart instance in a ScriptCase summary chart so that it can be modified?
      It is fusioncharts. You don't need ot create a chart application, but you can apply a chart to a grid. SO....
      Albert Drent
      aducom software netherlands
      scriptcase partner, reseller, support and (turn-key) development
      www.scriptcase.eu / www.scriptcase.nl

      Comment


      • #4
        (SOLVED) Accessing Chart Instance

        Having investigated this further, and digging through SC's generated code, SC doesn't pass a ChartID to the FusionCharts constructor, so there's no way to retrieve the FusionCharts PHP object instance.

        The alternative is to clone the old FusionCharts GitHub code and try to replace the SC-generated chart at runtime, re-using SC's container. That way, a ChartID can be passed to the constructor and stored in a session variable. Then, events can access/change the chart all day.

        Just imagine: Sales scale on the left, costs scale on the right, dates across the bottom. A blue line for daily sales total, a red line for daily costs total, and a semi-transparent white band for periodic On Sale! events. That's not what I'll be using it for, but my goal is similar. FusionCharts is kind of wasted in ScriptCase. Graph a single value? There's nothing useful in that except bragging rights like "Hey, we can do graphs!" which is important, I suppose.
        Last edited by Giblet535; 10-10-2014, 04:12 PM. Reason: Mark solved?

        Comment


        • #5
          correct, the exist solution for chart is not a good one, should be strengthened.

          Comment

          Working...
          X