Hi All,
I have a simple Area Chart, with X-axis showing hours of the day, and a simple measure for sum of sales:
As you can see, the Y-axis starting value is (-1), despite it set to 0 on the right, and having no value below 0.
When there are actual sales, the chart appears OK with Y axis starting from 0 - this error only happens when there are no sales at all.
When setting End value to 1, it also changes to start from 0.
Tried changing the starting value to -0.0001, but it just makes the Y axis to start there and end at 0.
Is this a bug or is there are way around it?
Thank you!
Solved! Go to Solution.
Hi @Anonymous ,
It is technically by design, in that it is how the axis logic is set up. We aren’t planning on prioritizing a change to the logic since it only happens when all values are zero, and there are few situations when there is a real business case for having an all 0 line and an axis of 0 to 1.
There is a similar issue you can reference.
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
It is technically by design, in that it is how the axis logic is set up. We aren’t planning on prioritizing a change to the logic since it only happens when all values are zero, and there are few situations when there is a real business case for having an all 0 line and an axis of 0 to 1.
There is a similar issue you can reference.
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
...there are few situations when there is a real business case for having an all 0 line and an axis of 0 to 1.
@v-xuding-msft- I have a potential business case where all values on the Line Chart Visualization will always be positive.
Thank you!
I wouldn't call it a "solution", as I can't use this visual like this infront of clients (it happens more often than not that all values are 0, it really depends on the time frame).
But I'll have to accept it as a "solution" for the time being.
Thanks for taking the time for a detailed reply!
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!
User | Count |
---|---|
390 | |
103 | |
66 | |
54 | |
49 |
User | Count |
---|---|
357 | |
124 | |
83 | |
68 | |
62 |