Solved! Go to Solution.
override protected function commitProperties():void { super.commitProperties(); var attributes:Object = hostComponent.attributes; var formattedAttributes:Object = hostComponent.formattedAttributes; var mediaInfo:PopUpMediaInfo = hostComponent.activeMediaInfo; // hide all elements except the border inside the imageOrChartGroup for (var i:int = 0; i < imageOrChartGroup.numElements; i++) { var element:IVisualElement = imageOrChartGroup.getElementAt(i); //if (element !== borderRect) //{ hideElement(element); //} }/* Define the symbol fill items that should be colored by the "symbolColor" style.*/ //private static const symbols:Array = [ "borderRectSymbol" ];
override protected function commitProperties():void { super.commitProperties(); var attributes:Object = hostComponent.attributes; var formattedAttributes:Object = hostComponent.formattedAttributes; var mediaInfo:PopUpMediaInfo = hostComponent.activeMediaInfo; // hide all elements except the border inside the imageOrChartGroup for (var i:int = 0; i < imageOrChartGroup.numElements; i++) { var element:IVisualElement = imageOrChartGroup.getElementAt(i); //if (element !== borderRect) //{ hideElement(element); //} }/* Define the symbol fill items that should be colored by the "symbolColor" style.*/ //private static const symbols:Array = [ "borderRectSymbol" ];