public override TKChartPointLabelRender PointLabelRenderForSeries (TKChart chart, TKChartSeries series, TKChartSeriesRender render) { if (this.labelRender == null) { labelRender = new MyPointLabelRender (render, this.selectedDataPointIndex, this.selectedSeriesIndex); } if (series.Index == 0) { return this.labelRender; } return null; }
public override TKChartPointLabelRender PointLabelRenderForSeries(TKChart chart, TKChartSeries series, TKChartSeriesRender render) { if (this.labelRender == null) { labelRender = new MyPointLabelRender(render, this.selectedDataPointIndex, this.selectedSeriesIndex); } if (series.Index == 0) { return(this.labelRender); } return(null); }