Jump to content
Software FX Community

How can I change label/tooltip format in HorizontalGauge?


serious

Recommended Posts

Hello,

How can I change label/tooltip format in HorizontalGauge? I need labels/tooltips to be displayed in "#,##0.##M" format. I tried HorizontalGauge.MainIndicator.Format.FormatCustom, but this doesn't help.

 Posted Image

Please advise ASAP.

My configuration:

  • VS2008 SP1
  • Latest ChartFX Gauges
  • ChartFX.Base, Version 6.2.1342.0
  • ChartFX.WebForms.Gauge, Version1.0.2601.0

Best regards, Oleg Yaroshevych.

Link to comment
Share on other sites

 This worked for me

  horizontalGauge1.Scales[0].Indicators[0].Value = 1286.607211;   horizontalGauge1.Scales[0].Indicators[0].Format.FormatType = ValueFormatType.Custom;   horizontalGauge1.Scales[0].Indicators[0].Format.FormatCustom = "#,##0.##M";   horizontalGauge1.Scales[0].Tickmarks.Format.FormatType = ValueFormatType.Custom;   horizontalGauge1.Scales[0].Tickmarks.Format.FormatCustom = "#,##0.##M";

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...