serious Posted April 30, 2009 Report Share Posted April 30, 2009 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. 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. Quote Link to comment Share on other sites More sharing options...
AndreG Posted April 30, 2009 Report Share Posted April 30, 2009 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"; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.