Example of Using ChartMaster to Set Up a HighChart

In the HEAD tag add links to the following *.JS - and *. CSS files:

In the BODY tag add the table that will contain the chart and chart setup wizard:

<body onselectstart="return false" class="PPNoSelect" onload="onReady()">
    <table style="width: 100%">
        <tr>
            <td valign="top" width="350" id="chartM">
            </td>
            <td valign="top" id="tdChart">
            </td>
        </tr>
    </table>
</body>

In the SCRIPT tag add code required to create the ChartMaster and HighCharts components:

    PP.resourceManager.setRootResourcesFolder("../../resources/");
    PP.setCurrentCulture(PP.Cultures.ru);
    var master;
    $(function () {
        chart = new Highcharts.Chart(options);
        master = new PP.Ui.ChartMaster({
            ParentNode: "chartM", //DOM node where chart master will be placed
            Chart: chart,
            Height: 500,
            Width: 300,
            ImagePath: "../../build/img/"//path to the image folder
        });
    });

After executing the example the page will contain a chart and its setup wizard:

See also:

ChartMaster | Example of File that Contains HighCharts Settings