Bar-oneBarGlitch

by Dominik Pesch

HTML

<script src="http://canvasjs.com/assets/script/canvasjs.min.js"></script>
<div id="chartContainer" style="height: 300px; width: 100%;"></div>

JavaScript

var chart = new CanvasJS.Chart("chartContainer",
    {
      title:{
        text: "Gaming Consoles Sold in 2012",

      },
      animationEnabled: false,
      zoomEnabled: false,
      toolTip:
      {
        enabled:false
      },
        
   axisX:{
       title: "",
       gridThickness: 0,
       tickLength: 0,
       
      },        
      
       data: [
      {
         type: "bar",
       showInLegend: true,
       dataPoints: [
       {  y: 4181563, label: "ONE at axis top" },
       //{  y: 418153, label: "now it's gone" } <---- please remove comment to show effect
       ]
     }
     ]
   });

    chart.render();