The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Is it possible that i get the position of the Ticks in regarding of X,Y coordiantes.One thing more that i want to display the ticks after some fixed interval For E.g our X axis 10,20,30,40,50,60,70,80,90,100 and So on I want that Tick to after 3 then it Shows only on 4 Plz Plz help me
J.J.Nagarajan Syncfusion Team July 11, 2008 01:14 PM UTC
Hi Pankaj ,
You can not set the Ticks at the specified intervals. As a work around you have to handle ChartAreaPaint event and you can draw the your custom rectangle at the specified intervals of axis labels . Please try the following.
//Set Tick's Color to Transparent. this.chartControl1.PrimaryXAxis.TickColor = Color.Transparent; this.chartControl1.PrimaryXAxis.TickSize = 10;
//Here you have to draw filled rectangle void chartControl1_ChartAreaPaint(object sender, PaintEventArgs e) { //You can Adjust location. e.Graphics.FillRectangle(Brushes.Green,new Rectangle(120,580,10,10) }