<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>ZingSoft Demo</title>
  <script nonce="undefined" src="https://cdn.zingchart.com/zingchart.min.js"></script>
  <style></style>
</head>
<body>
  <div id='myChart'></div>
  <script>
    ZC.LICENSE = ["569d52cefae586f634c54f86dc99e6a9", "b55b025e438fa8a98e32482b5f768ff5"];
    let chartConfig = {
      type: 'bar',
      title: {
        text: 'Legend Tooltips'
      },
      legend: {
        align: 'center',
        layout: 'horizontal',
        offsetY: '50px',
        tooltip: { //Legend Tooltips
          text: 'The %t population is %plot-description',
          backgroundCcolor: 'white',
          borderWidth: 1,
          borderColor: 'gray',
          borderRadius: '5px',
          fontColor: 'black',
          fontFamily: 'Georgia',
          sticky: true,
          timeout: 10000,
          wrapText: true,
          backgroundColor: '#f90',
          borderColor: '#f60',
          borderRadius: -5,
          borderWidth: 2,
          callout: true,
          calloutHeight: 20,
          calloutPosition: 'bottom',
          calloutWidth: 0,
          padding: 10,
          shadow: true,
          calloutTip: {
            type: 'circle',
            backgroundColor: '#fff',
            borderWidth: 2,
            borderColor: '#f60',
            size: 5,
            offsetY: 0,
          }
        },
        x: '25%',
        y: '12%',
      },
      plotarea: {
        marginTop: '25%'
      },
      plot: {
        barWidth: '30%',
        stacked: true,
      },
      scaleX: {
        labels: ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M']
      },
      scaleY: {
        values: '0:200:50'
      },
      series: [{
          values: [64, 59, 55, 49, 39, 35, 31, 20, 16, 15, 9, 5, 4],
          text: '0-18 years',
          description: 'depicted in blue.'
        },
        {
          values: [99, 90, 87, 70, 59, 51, 45, 39, 34, 25, 21, 9, 5],
          text: '18-64 years',
          description: 'depicted in red.'
        },
        {
          values: [34, 30, 16, 15, 14, 12, 10, 9, 8, 7, 5, 4, 3],
          text: '65 and over',
          description: 'depicted in green.'
        }
      ]
    };
    zingchart.render({
      id: 'myChart',
      data: chartConfig,
      height: 400,
      width: '100%'
    });
  </script>
</body>
</html>
       
      
        
        <!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>ZingSoft Demo</title>
  <script src="https://cdn.zingchart.com/zingchart.min.js"></script>
</head>
<body>
  <div id='myChart'></div>
</body>
</html>
       
      
        let chartConfig = {
  type: 'bar',
  title: {
    text: 'Legend Tooltips'
  },
  legend: {
    align: 'center',
    layout: 'horizontal',
    offsetY: '50px',
    tooltip: { //Legend Tooltips
      text: 'The %t population is %plot-description',
      backgroundCcolor: 'white',
      borderWidth: 1,
      borderColor: 'gray',
      borderRadius: '5px',
      fontColor: 'black',
      fontFamily: 'Georgia',
      sticky: true,
      timeout: 10000,
      wrapText: true,
      backgroundColor: '#f90',
      borderColor: '#f60',
      borderRadius: -5,
      borderWidth: 2,
      callout: true,
      calloutHeight: 20,
      calloutPosition: 'bottom',
      calloutWidth: 0,
      padding: 10,
      shadow: true,
      calloutTip: {
        type: 'circle',
        backgroundColor: '#fff',
        borderWidth: 2,
        borderColor: '#f60',
        size: 5,
        offsetY: 0,
      }
    },
    x: '25%',
    y: '12%',
  },
  plotarea: {
    marginTop: '25%'
  },
  plot: {
    barWidth: '30%',
    stacked: true,
  },
  scaleX: {
    labels: ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M']
  },
  scaleY: {
    values: '0:200:50'
  },
  series: [{
      values: [64, 59, 55, 49, 39, 35, 31, 20, 16, 15, 9, 5, 4],
      text: '0-18 years',
      description: 'depicted in blue.'
    },
    {
      values: [99, 90, 87, 70, 59, 51, 45, 39, 34, 25, 21, 9, 5],
      text: '18-64 years',
      description: 'depicted in red.'
    },
    {
      values: [34, 30, 16, 15, 14, 12, 10, 9, 8, 7, 5, 4, 3],
      text: '65 and over',
      description: 'depicted in green.'
    }
  ]
};
zingchart.render({
  id: 'myChart',
  data: chartConfig,
  height: 400,
  width: '100%'
});