private void UpdatePointMarkFills()
        {
            TXFC.RadCartesianChart xfChart     = (TXFC.RadCartesianChart) this.Element;
            TKExtendedChart        nativeChart = (TKExtendedChart)this.Control;

            for (int i = 0; i < nativeChart.Series.Length; i++)
            {
                TKChartLineSeries lineSeries = nativeChart.Series[i] as TKChartLineSeries;
                if (lineSeries != null)
                {
                    this.TrySetPointMarkFill(lineSeries, xfChart.Series[i]);
                }
            }
        }
        private void UpdateGradientBarFills()
        {
            TXFC.RadCartesianChart xfChart     = (TXFC.RadCartesianChart) this.Element;
            TKExtendedChart        nativeChart = (TKExtendedChart)this.Control;

            for (int i = 0; i < nativeChart.Series.Length; i++)
            {
                TKChartColumnSeries columnSeries = nativeChart.Series[i] as TKChartColumnSeries;
                if (columnSeries != null)
                {
                    this.TrySetGradientBarFill(columnSeries, xfChart.Series[i]);
                }
            }
        }
示例#3
0
        protected override void OnAttached()
        {
            TKExtendedChart nativeChart = (TKExtendedChart)this.Control;

            nativeChart.Delegate = new MyChartDelegate();
        }