zengh
2020-11-13 824dece6f25bd50b53146463f856169aff6840b9
widgets/MapSection/SectionChart.js
@@ -15,6 +15,7 @@
    ],
    function (declare, lang, html, _WidgetBase, _TemplatedMixin,
              on, mouse, query, xhr, topic, JSON,domConstruct,echarts) {
        return declare([_WidgetBase, _TemplatedMixin], {
            templateString: '<div style="width:100%;height:100%;"><div   style="width:100%;height:100%;" >' +
@@ -80,10 +81,9 @@
               
            },
            isResize:true,
            postCreate: function () {
            postCreate: function () {
               this.inherited(arguments);
               this.query();
               this.step = 0;
               var lg = this.GetDistance(this.oList[0].lttd,this.oList[0].lgtd,this.oList[99].lttd,this.oList[99].lgtd);
               this.step = lg/99;