ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Format of aggregated label
Posted by Kevin Kidson on Jan-10-2017 22:10
Is it possible to format the aggregated labels to put either spaces or commas to show thousand/millions

1234567890 = 1 234 567 890

  Re: Format of aggregated label
Posted by Peter Kwan on Jan-11-2017 09:36
Hi Kevin,

You may use Layer.setAggregateLabelFormat to specify the label format. For example, in C#/Java, it is like:

// use space as thousand separator
setAggregateLabelFormat("{value| }");

or

// use comma as thousand separator
setAggregateLabelFormat("{value|,}");

Hope this can help.

Regards
Peter Kwan