HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/TDijk1/erp-apps.eu/wwwroot/CMSScripts/CMSModules/CMS.Charts/Column.js
cmsdefine(['amcharts.serial', 'amcharts.cmstheme'], function (chart) {
    'use strict';

    var Module = function (config) {
        chart.makeChart(config.chartDiv, {
            type: "serial",
            theme: "CMSTheme",
            dataProvider: config.data,
            valueAxes: [{
                dashLength: 0
            }],
            gridAboveGraphs: true,
            startDuration: 1,
            graphs: [{
                balloonText: "[[category]]: <b>[[value]]</b>",
                fillAlphas: 0.8,
                lineAlpha: 0.2,
                type: "column",
                valueField: "value"
            }],
            chartCursor: {
                categoryBalloonEnabled: false,
                cursorAlpha: 0,
                zoomable: false
            },
            categoryField: "category",
            categoryAxis: {
                gridPosition: "start",
                tickPosition: "start",
                tickLength: 20
            },
        });
    };

    return Module;
});