Formatting bug with a strange fix
Posted: Thu Dec 17, 2020 11:17 pm
We were getting a formatting bug with a series in our application. We are using the .LeftAxis.LabelsFormat.TextFormat := ttfHtml setting and the left axis appeared correctly until the mouse hovered over it--then it appeared with the html formatting. Here are two images, showing what was happening:
I tried creating a demo of it and could not, evening copying the exact objects and code.
I gave it to another programmer and he found a fix: a design-time there is a chart bar series in the chart that he removed and re-rand the program and it now displays correctly. The Chart.FreeAllSeries method is called in code before creating a new series--so I don't understand what is happening.
I only put this here as a bookmark--there is no action needed. Just as an FYI, and in case someone else sees something like this.
Ed Dressel
I tried creating a demo of it and could not, evening copying the exact objects and code.
I gave it to another programmer and he found a fix: a design-time there is a chart bar series in the chart that he removed and re-rand the program and it now displays correctly. The Chart.FreeAllSeries method is called in code before creating a new series--so I don't understand what is happening.
I only put this here as a bookmark--there is no action needed. Just as an FYI, and in case someone else sees something like this.
Ed Dressel