|
|
|
@ -1490,6 +1490,15 @@ export class WorkingAreaComponent extends EventEmitter implements OnInit, AfterV
|
|
|
|
|
shape.hideBorder(); |
|
|
|
|
shape.setPointVisiable(false); |
|
|
|
|
} |
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////图例
|
|
|
|
|
/** |
|
|
|
|
* 设置图例显示隐藏 |
|
|
|
|
* @param b true 显示,false隐藏 |
|
|
|
|
*/ |
|
|
|
|
public setLegendVisible(b: boolean): void { |
|
|
|
|
const legend = this.backgroundImage.getChildByName('图例') as AxLegend; |
|
|
|
|
legend.visible = b; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
enum CanvasAction { |
|
|
|
|
selectionChanged = 'selectionChanged', |
|
|
|
|