How to immediately redraw chart after series changed?
Posted: Wed Jun 24, 2015 9:48 am
Hi,
I'm using Teechart Java for Android.
There's a case in my app when I need to remove all bars from my chart and display a message instead.
To achieve the described behavior, I use the following steps:
1. I call to remove all bars from my chart.
2. I have a ChartPaintAdapter, and in chartPainted() method I use IGraphics3D to draw a message.
The question is that there's a time lag between bars removed and my message is shown. During this lag for some period of time I see just a blank chart with no data and with no message. Only after a second or two the message is shown.
Is it possible to draw a message immediately after series is cleared? How to achieve that?
I'm using Teechart Java for Android.
There's a case in my app when I need to remove all bars from my chart and display a message instead.
To achieve the described behavior, I use the following steps:
1. I call
Code: Select all
series.clear()
2. I have a ChartPaintAdapter, and in chartPainted() method I use IGraphics3D to draw a message.
The question is that there's a time lag between bars removed and my message is shown. During this lag for some period of time I see just a blank chart with no data and with no message. Only after a second or two the message is shown.
Is it possible to draw a message immediately after series is cleared? How to achieve that?