How to format series name in onTrackballPositionChanging ?

How to format series name in onTrackballPositionChanging ?

how to get it to appear on the tracballbehavior view?

my example is formatting the name series so that it can be added a substring

args.chartPointInfo.series!.name.toString().length < 12
? args.chartPointInfo.series!.name.toString()
: args.chartPointInfo.series!.name
.toString()
.substring(0, 12) +
'...';

1 Reply

DD Dharanidharan Dharmasivam Syncfusion Team January 26, 2022 01:47 PM UTC

Hi Asep,     

 
Greetings from Syncfusion. We have looked through your query. Yes, you can customize the header of the trackball only when you use builder. We have customized the appearance trackball in below sample under _buildTrackballTemplateChart method and you can change based on your requirement. 

 

 
Thanks, 
Dharani. 


Loader.
Up arrow icon