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;
			}
Example #2
0
		public MyPointLabelRender (TKChartSeriesRender render, int dataIndex, int seriesIndex) : base (render)
		{
			this.SelectedDataPoint = dataIndex;
			this.SelectedSeries = seriesIndex;
		}
            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 MyPointLabelRender(TKChartSeriesRender render, int dataIndex, int seriesIndex) : base(render)
 {
     this.SelectedDataPoint = dataIndex;
     this.SelectedSeries    = seriesIndex;
 }