|
// add additional code here
public count = 0;
public legendRender(args: IAccLegendRenderEventArgs): void {
args.text = this.data[this.count]["x"];
this.count++;
}
// add additional code here |
|
public legendRender(args: IAccLegendRenderEventArgs): void {
if(this.count == this.data.length)
this.count = 0;
args.text = this.data[this.count]["x"];
this.count++;
} |