-
Notifications
You must be signed in to change notification settings - Fork 34
d3 errors on dashboard #1427
Comments
@teosarca the reason for this is we are getting negative values (less than 0) from the backend. How does it work? are we supposed to have negative values, as well? |
@wiadev 10x. I think this shall be handled on backend side and in case of pie charts always send positive numbers. |
@teosarca cool |
@wiadev hmm, but on bar charts we shall be able to display negative numbers, isn't it? |
@teosarca we can draw negative values below the x-axis but at the moment, negative values are setting for heights. do you want me to check? |
yes pls
depends on each bar chart, but i don't see why not. |
i can also see a number of interesting cases for negative bar charts (scnr) |
@teosarca FYI, I've added additional x-axis at y:0 if there is a negative value to make it more visible. |
[#706](metasfresh/metasfresh-webui-api-legacy#706) Port current MRP Product Info Window to the webui [#755](metasfresh/metasfresh-webui-api-legacy#755) Processes: support for parentViewSelectedIds and childViewSelectedIds [#1427](metasfresh/metasfresh-webui-frontend-legacy#1427) d3 errors on dashboard [#2646](#2646) MRP Product Info Just in Time [#751](metasfresh/metasfresh-webui-api-legacy#751) Picking Tray Clearing: packing HUs: Add to Transportation Order action [#1437](metasfresh/metasfresh-webui-frontend-legacy#1437) Language bug: The language in Settings is not respected [#746](metasfresh/metasfresh-webui-api-legacy#746) Picking Tray Clearing: Scan picking slot barcode filter [#1455](metasfresh/metasfresh-webui-frontend-legacy#1455) error when updating an attribute multiple times [#747](metasfresh/metasfresh-webui-api-legacy#747) Picking Tray Clearing: filter picking slots by Partner [#1433](metasfresh/metasfresh-webui-frontend-legacy#1433) Support Lookup view attributes [#3211](#3211) Picking Tray Clearing: right side view shall display only the HUs for current BP/Location [#1444](metasfresh/metasfresh-webui-frontend-legacy#1444) Attributes are empty in material receipt candidate [#3202](#3202) Error in Paymentjournal Process/ Report in Payselection [#3193](#3193) Improve Window for manual OnHand Qty in WebUI [#1448](metasfresh/metasfresh-webui-frontend-legacy#1448) jenkins: fix current lint issues [#1435](metasfresh/metasfresh-webui-frontend-legacy#1435) Problem regarding multiple filters [#1436](metasfresh/metasfresh-webui-frontend-legacy#1436) Remove legacy docs [#3169](#3169) Updating PMM_Week availability trend fails [#1206](metasfresh/metasfresh-webui-frontend-legacy#1206) Use automatic code style enforcement [#717](metasfresh/metasfresh-webui-api-legacy#717) picking terminal: open HUs to pick shall display Best Before date and Locator me-45
@teosarca is it refreshed every second? on my end, it's refreshed very occasionally. |
@wiadev but it's weird that only for this one is happening. All the others, AFAIK, are moving nicely when data is changed. |
Fix re-rendering issue on BarChart #1427
@metas-mk we need a barchart with negative values in order to test the feature. note to IT: try to create some negative sales orders or something just to have an negative revenue for some of those products. |
@metas-lc confirmed on w101. leave the negative values as it is while I'm working, please. |
@wiadev btw i think on w101 the task is not rolled out. I was testing somewhere else. I won't change the values on w101. Let me know if you need rollout |
@metas-lc even though you didn't roll out, you updated the w101 DB to have negative values to test, right? |
@wiadev yes, i wanted to confirm it's a bug. But then i noticed it doesn't look like it was rolled out. You can remove the order i did: https://w101.metasfresh.com:8443/window/143/1000297 |
@metas-lc no I need those numbers so I can reproduce on my end, as well. :) all good. leave them, please. |
@metas-lc can you roll out this on w101 and test again? |
Fix drawing bars for negative values #1427
IT |
Is this a bug or feature request?
bug
What is the current behavior?
you get flooded with errors in console when you open the dashboard
Which are the steps to reproduce?
open https://w101.metasfresh.com:8443/ see console
What is the expected or desired behavior?
no errors
The text was updated successfully, but these errors were encountered: