Uploaded image for project: 'ZK Charts'
  1. ZK Charts
  2. ZKCHARTS-150

ZKCHARTS-113 no longer necessary in latest charts release, cause chart to not scale back from fullscreen

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 10.3.3.0, 11.2.0.0
    • Security Level: Jean
    • None

      Steps to Reproduce

      Run any chart without hflex / vflex or width / height
      open fullscreen
      close fullscreen

      Current Result

      chart content is still the same size as fullscreen

      Expected Result

      content should restore to original size

      Debug Information

      side effect of https://tracker.zkoss.org/browse/ZKCHARTS-113 after it was fixed on highcharts itself

      Workaround

      remove workflow

      	<script><![CDATA[
      	zk.afterLoad("chart", function () {
      	    var _xCharts = {};
      	    zk.override(chart.Charts.prototype, _xCharts, {
                  _onFullscreen: function() {
      				//size is now handled by fullscreen module of highcharts, do nothing
                  },
      	     });
      	});
      ]]></script>
      

            Unassigned Unassigned
            MDuchemin MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: