Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
3
Erster Beitrag:
vor 1 Jahr, 5 Monaten
Letzter Beitrag:
vor 1 Jahr, 5 Monaten
Beteiligte Autoren:
Sivaprakash

Re: [WD20] Chart zoom problem

Startbeitrag von Sivaprakash am 23.06.2016 12:37

Hello,

Using Windev 20, bar chart, horizontal zoom

At runtime, clients will choose the data that's to be displayed as chart. I used a internal window which accepts the user input, query the db (hExecuteSQLQuery), add those data (graddData) and category label (grCategoryLabel) and draw the chart (grDraw) commands.

When the users changes his choice, I need to clear graph and redraw it again with the fresh data. To clear, I use (grDeleteSeries) and again add data with grAdddata & grCategoryLabel.

This works fine when I don't use the zoom facility. After using the zoom facility, if the input is modified, the graph is not reflecting the correct data.

Am I missing something in using the zoom facility ?
To clear a graph and start afresh, grDeleteSeries command is enough ?

Happiness Always
BKR Sivaprakash

Antworten:

Re: [WD20] Chart zoom problem

Hello,

Any ways to refresh charts, once displayed ?

von Sivaprakash - am 30.06.2016 12:20

Re: [WD20] Chart zoom problem

Hello,

Tried with

1. grDeleteAll
2. grDeleteSeries
3. grAutoRefreshSeries
4. grAutoRefreshCategoryLabel
5. grClearPict

After all these, I use

grDraw

to redraw the chart.

This problem occurs only when the horizontal zoom facility is used at runtime. Otherwise all works great.

This zoom facility looks great, which I prefer to use it.

Any thing that I miss...

Happiness Always
BKR Sivaprakash

von Sivaprakash - am 01.07.2016 11:06
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.