aidanbiggs
Results
3
comments of
aidanbiggs
The generateLegend() method exists on the Chart object so we can access it by grabbing it from the Viewchild of the BaseChartDirective like so ` @ViewChild(BaseChartDirective) private _chart: BaseChartDirective; public...
I've managed to get a custom legend using a implementation similar to this one https://github.com/valor-software/ng2-charts/issues/464 **graph.component.html** ``` Data Filters {{legendItem.text}} ``` **graph.component.ts** ``` public getLegendCallback: any = ((self: this): any...
@rubenCodeforges I couldn't manage to covert the `getLegendCallback()` and have it still work, if you could show me it'd be appreciated