You Haipeng
You Haipeng
graph内部的事件监听会导致angular产生变更检查。 通过在注册事件上添加`this._zone.runOutsideAngular`,还是会触发变更检查 ``` // 注册封装的echarts事件. private _registerEvent() { this._zone.runOutsideAngular(()=>{ this._eventArr.forEach(eventStr => { this._graph.off(eventStr); this._graph.on(eventStr, params => this._handleEvent(params, eventStr)); }) }) } ```
比如big table的滚动条计算 


#### 在 JigsawTheme中暴露皮肤参数 ``` // 获取主要色值 public static getPrimaryColor() { return this.colorFactory(['#41addc', "#029af2"]); } // 获取panel背景色 public static getPanelBackgroundColor(): string { return this.colorFactory([null, "#102331"]); } // 获取边框颜色 public static getBorderColor():...
原来的显示效果:  现在的显示效果: 