Closed retsyo closed 2 years ago
Added: LabelsFormat property to Chart control, Fixed: LabelsPositions and LabelsAlignments properties of Chart control: https://github.com/XusinboyBekchanov/MyFbFramework/commit/e8faf4ca3e8670ec6b167d3a700fb9e081d0ffd4
put all values above the bar with constant distance?
LP_ABOVE removed as duplicate LP_Outside. You can use LabelsPositions property with LP_Outside value to do this.
do not display values at all?
You can use LabelsVisible property.
bar 2 has a value of 0.07. Due to the binary number cause, it is treat as 0.07000000000001. Is it possible to set all displayed value use a pattern, for example, '%.2f'?
You can use newly added property LabelsFormat to do this. Only you must set format from wiki: https://www.freebasic.net/wiki/KeyPgFormat
Added: ToolTipsFormat property to Chart control: https://github.com/XusinboyBekchanov/MyFbFramework/commit/63818b67a15a87f98546b09540848221d2b96c2a
For the ToolTip, I also added the format property.
First
In the following chart, we can find that some value is placed above the bar with red color. on the same time some value is placed in the bar with white color.
the location is not constant which make the chart ugly. so is it possible
second
bar 2
has a value of0.07
. Due to the binary number cause, it is treat as0.07000000000001
. Is it possible to set all displayed value use a pattern, for example, '%.2f'?thanks