2023.08.22 03:46 AM
Please see attached an example of this issue, just change the data source to another q process and press the "click" button a couple of times to reproduce.
Summary: I setup a chartGL line graph with the Color Enumeration set to the sym column of the table below, with the x and y axis set to the p and g columns, respectively. As I keep clicking the button to regenerate the chart, after a few clicks, the chart is no longer updating correctly.
For example, if you keep pressing the click button and at the same time check the table, .debug.res, on the q process, you will see that what is being displayed does not match the table. In particular, when n takes value 1, there should only be one sym in the legend list on the top of the chart, but I am seeing seeing multiple still being displayed, probably from previous queries, so it is not fully refreshing the screen.
Please let me know if I am doing something wrong here or if this is an issue
Thanks
2023.08.23 08:54 AM
We will add a fix to our next release to allow the "Force Reset" option on static queries.
In the meantime, to work around this
1. switch to polling query
2. click on "Force reset"
3. switch back to static query
4. save and refresh - "Force Reset" will now be turned on in static queries
2023.08.22 05:42 AM
If I replace the chartGL with a Pie chart I get the same problem, so its not a chartGL specific issue
2023.08.23 08:54 AM
We will add a fix to our next release to allow the "Force Reset" option on static queries.
In the meantime, to work around this
1. switch to polling query
2. click on "Force reset"
3. switch back to static query
4. save and refresh - "Force Reset" will now be turned on in static queries
2023.08.23 09:19 AM
Thanks Kieran, that did the trick, updating as expected now
EMEA
Tel: +44 (0)28 3025 2242
AMERICAS
Tel: +1 (212) 447 6700
APAC
Tel: +61 (0)2 9236 5700
KX. All Rights Reserved.
KX and kdb+ are registered trademarks of KX Systems, Inc., a subsidiary of FD Technologies plc.