Closed andredaa closed 4 years ago
Getting error upon click on droplet icon
which user are you logging in with? cannot reproduce this. Might be related to the results received from the stormwater model.
Getting error upon click on droplet icon
I pushed a commit with changes ensuring that only numbers are passed to the chart. If the stormwater module publishes a non-numeric result, the chart will show an empty graph as result.
Error only showed in Chrome, not Firefox. Updated function to set target bar.
I pushed a commit with changes ensuring that only numbers are passed to the chart. If the stormwater module publishes a non-numeric result, the chart will show an empty graph as result.
This might have to do with the new grid size. This probably broke the calc of the module, hence to non-number values.Thanks for fencing it.
I pushed a commit with changes ensuring that only numbers are passed to the chart. If the stormwater module publishes a non-numeric result, the chart will show an empty graph as result.
This might have to do with the new grid size. This probably broke the calc of the module, hence to non-number values.Thanks for fencing it.
Turns out the problem was that the stormwater results have no target values. The d3 chart was always set with target lines to render though. Made a indentifier now whether a chart has target values or not.
Add chart results for stormwater Refactor chart menu component to display multiple result sets