This discussion is archived
2 Replies Latest reply: Nov 13, 2012 8:37 AM by user4147906 RSS

Apex Chart stopped working

user4147906 Newbie
Currently Being Moderated
Hi,

This post is regarding an Apex 4.0.1, AnyChart_5.1.3 chart. It was working for several months, but one week ago, it failed. The page shows 'Initializing' yet never displays the chart. Changing the chart type fixes the issue. The problem occurs on IE, Firefox & Chrome, with and without SSL. No errors appear in the apache log. Enabling Debug on the application does not give more details.

The chart is a 2D Bar chart that uses an “Area” series. A custom call (xml) to the AnyChart plugin was used to create the chart, without using an Apex wizard. Could there an AnyChart licensing issue causing the chart to stop working after being used in production for several months?

Your help is appreciated.

Thanks, Julie
  • 1. Re: Apex Chart stopped working
    Hilary Expert
    Currently Being Moderated
    Hi Julie,
    It was working for several months, but one week ago, it failed.
    It seems strange that your chart suddenly stopped working a week ago. Are you sure nothing changed on your instance to cause this? When you run the page with Debug set to Yes, and click on the "Show XML" link under your chart region, does the XML appear correct or do you see any error messages?
    The chart is a 2D Bar chart that uses an “Area” series. A custom call (xml) to the AnyChart plugin was used to create the chart, without using an Apex wizard.
    The fact that you have generated an “Area” series for your chart is an issue. The Application Express AnyChart license agreement covers the creation of chart types exposed via the Application Builder wizards, and an "Area" chart is not one of them. In order to generate chart types that are not covered by our license, you will need to approach AnyChart (anychart.com) yourself and obtain a separate license for generating such a chart type. While you may have been able to generate such an unlicensed chart type via custom XML in APEX 4.0.1, this will not be feasible in newer releases of APEX. So my recommendation would be to change your chart to replace the use of the "Area" series with a licensed series type e.g. Bar.

    Regards,
    Hilary
  • 2. Re: Apex Chart stopped working
    user4147906 Newbie
    Currently Being Moderated
    XML generates without error. Thank you very much for the information!

    Edited by: user4147906 on Nov 13, 2012 8:36 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points