This is a migrated thread and some comments may be shown as answers.
Pallatte not displaying for first and last data points
4 Answers 15 Views
This is a migrated thread and some comments may be shown as answers.
Ranganathan
Top achievements
Rank 1
Ranganathan asked on 13 Nov 2017, 01:23 PM

Hi 

I am using Point Labels with Line series.

I noticed that TKChartPaletteItem is not displaying for first point and last point. Please see the attached screen shot, first and last point does not have the star and circle palette.

I am already using the Chart Delegate, but unfortunately, I m not sure how to make them visible

 

Thanks

Ranga

4 Answers, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 16 Nov 2017, 11:30 AM
Hello, Ranga,

Can you try setting the PlotMode of the  to AxisPlotMode. and test if the behavior will be different at your end?

Regards,
Stefan Nenchev
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Ranganathan
Top achievements
Rank 1
answered on 16 Nov 2017, 11:56 AM

Hi Stefan,

Thank you. I have already tried this option, but it is not working

 

Thanks

0
Accepted
Stefan Nenchev
Telerik team
answered on 21 Nov 2017, 09:58 AM
Hello, Ranganathan,

You can set the range of the XAxis in the example you are referring to. Here is the approach that worked at my end - customizing the NumericalAxis used as XAxis right after the YAxis update:

    TKChartNumericAxis yAxis = new TKChartNumericAxis (new NSNumber (40), new NSNumber (80));
yAxis.MajorTickInterval = new NSNumber (10);
chart.YAxis = yAxis;
 
     TKChartNumericAxis xAxis = new TKChartNumericAxis(new NSNumber(-1), new NSNumber(10));
     yAxis.MajorTickInterval = new NSNumber(1);
     chart.XAxis = xAxis;

Please give it a try at your end as well.

Have a great rest of the week.

Regards,
Stefan Nenchev
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Ranganathan
Top achievements
Rank 1
answered on 21 Nov 2017, 10:55 AM

Hi Stepan,

Thank you. I tried the following numbers and it works.

TKChartNumericAxis xAxis = new TKChartNumericAxis(new NSNumber(-1), new NSNumber(11));

But one issue is x-axis displaying -1 and 11. Hope can I hide those columns. I am not able identify how to hide specific x axis columns.

Thanks

Ranga

Tags
Chart
Asked by
Ranganathan
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Ranganathan
Top achievements
Rank 1
Share this question
or