• my file upload but no chart drawn up what can this be due to?
    http://laila.ezy.se/diagram/

    resourse
    //www.amcharts.com/lib/3/amcharts.js
    //www.amcharts.com/lib/3/serial.js
    //www.amcharts.com/lib/3/plugins/dataloader/dataloader.min.js

    Html
    <div id=”$CHART$” style=”width: 100%; height: 300px;”></div>

    javascript
    var $CHART$ = AmCharts.makeChart( “$CHART$”,{
    “type”: “serial”,

    “valueAxes”: [ {
    “gridColor”: “#cccccc”,
    “gridAlpha”: 0.2,
    “dashLength”: 1
    } ],
    “dataLoader”: {
    “url”: “/data1.txt”,
    “format”:”csv”,
    “delimiter”: “,”,
    “showErrors”: true,
    “init”: function ( options, chart ) {
    console.log( ‘Loading started’ );
    },
    “load”: function ( options, chart ) {
    console.log( ‘Loaded file: ‘ + options.url );
    },
    “complete”: function ( chart ) {
    console.log( ‘Woohoo! Finished loading’ );
    },
    “error”: function ( options, chart ) {
    console.log( ‘Ummm something went wrong loading this file: ‘ + options.url );
    },
    “progress”: function( totalPercent, filePercent, url ) {
    console.log( ‘Total percent loaded: ‘ + Math.round( totalPercent ) );
    }

    },

    “gridAboveGraphs”: true,
    “startDuration”: 1,
    “graphs”: [ {
    “balloonText”: “category: <b>value</b>”,
    “fillAlphas”: 0.8,
    “lineAlpha”: 0.2,
    “type”: “column”,
    “valueField”: “Kr” ,
    “title” : “red line” ,
    “bullet” :”round”,
    “bulletBorderColor” : “#FFFFFF”,
    “bulletBorderThickness” : 2,
    “bulletBorderAlpha” :1,
    “lineThickness” : 2,
    “lineColor” :”#b5030d”,
    “negativeLineColor” : “#0352b5”,
    “hideBulletsCount” : 50 // this makes the chart to hide bullets when there are more than 50 series in selection

    } ],
    “chartCursor”: {
    “categoryBalloonEnabled”: false,
    “cursorAlpha”: 0,
    “cursorPosition” : “mouse”,
    “zoomable”: false
    },
    “categoryField”: “date”,
    “categoryAxis”: {
    “gridPosition”: “start”,
    “dataDateFormat”: “YYYY-MM-DD”,
    “gridAlpha”: 0
    }

    } );

Viewing 1 replies (of 1 total)
  • Plugin Author martynasma

    (@martynasma)

    Hi there,

    I don’t see any chart code on the URL you have provided.

    Are you sure you included the shortcode for the above chart into the page body?

Viewing 1 replies (of 1 total)

The topic ‘Chart does not draw up’ is closed to new replies.