コード例 #1
0
			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;
			}
コード例 #2
0
            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);
            }