RaV Posted January 23, 2008 Report Share Posted January 23, 2008 HelloI try to format float values as percentage (either axis.DataFormat.CustomFormat = "#0.00" or DataFormat.Format = ChartFX.WinForms.AxisFormat.Percentage ) and in chart everything is fine but in DataGrid values are 100x greater. With normal decimal formating both chart and grid have good values.How can solve this problem?I'm using ChartFx version 7.0.2893.24916.RegardsRaV Quote Link to comment Share on other sites More sharing options...
Frank Posted January 23, 2008 Report Share Posted January 23, 2008 Use ChartFX.WinForms.AxisFormat.Percentage only if your values go from 0 to 1 and you wnat to see them as a percentage (e.g. 50% of 0.5). Notice that DataFormat does NOT affect the axis labels, if you want both the axis labels and the datagrid to have the same formatting use: axis.LabelsFormat.CustomFormat = "#0.00%" Quote Link to comment Share on other sites More sharing options...
RaV Posted January 24, 2008 Author Report Share Posted January 24, 2008 Thanks for reply. 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.