[progress Communities] [progress Openedge Abl] Forum Post: Subscribe() Question

Status
Not open for further replies.
I

integrasoftware

Guest
Hello everyone... I am trying to use Ultradatachart(16.2) in Openedge V11.2. I'm trying to format the labels on the chart. For example: instead of showing 12,000,000 must shows 12 M. To be able to do this I must subscribe to the event "FormatLabel" of the CategoryX axis C Subscribe Example: CategoryX.FormatLabel + = new AxisFormatLabelHandler (Eventthatrunstheformat); C Event: string Eventthatrunstheformat(AxisLabelInfo info) { decimal value = (decimal)info.Value; return Utilities.GetDisplayValueInMillions(value, 0, MillionsSuffix); } I never subscribe to an event that returns a value (In this case String). Can someone guide me on how to subscribe?

Continue reading...
 
Status
Not open for further replies.
Top