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 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%" 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.