Chart Resizing Issue

by YeongCY

HTML

<script src="https://cdn.zoomcharts-cloud.com/1/nightly/zoomcharts.js"></script>
<div>
  <div id="demo"></div><div width="100px"></div>
</div>

JavaScript

var t = new TimeChart({
  container: document.getElementById("demo"),
  title: {
  	text: 'testste'
  },
  valueAxis: {
  	y2: {
    	side: 'right',
    	title: 'testete testste teste tests'
    }
  },
  valueAxisDefault: {
  	title: 'testete testste teste tests'
  },
  toolbar: {
  	location: 'outside',
    export: false,
    logScale: false,
    back: false,
    zoomOut: false
  },
  data: {
    timestampInSeconds: true,
    units: ["y", "M", "d", "h"],
    dataFunction: function(from, to, step, success, fail) {
      // using jquery for ajax call
jQuery.ajax({
        url: "https://zoomcharts.com/dvsl/data/time-chart/bitcoin-" + step + ".json",
        success: success,
        error: fail
      }); 
    }
  }
});