Open
Description
InfluxDB has an option to shade area under lines. However, shading should always be between the line and the x-axis. InfluxDB shades the area between the bottom of the chart and the line. This causes very strange behavior for negative values.
Steps to reproduce:
List the minimal actions needed to reproduce the behavior.
- Create a data source that has negative and positive values
- Create a chart and select "shade area under lines"
- Notice that the area is below the lines is always shaded, even if the value is negative. With negatives values, the area between the x-axis and line should shaded.
Expected behavior:
Area between x-axis and line shaded.
Actual behavior:
Area between x-axis and bottom of chart is shaded (similar to Chronograf).
Environment info:
- System info: Linux 5.4.0-77-generic x86_64
- InfluxDB version: InfluxDB 2.0.8
- Other relevant environment details: n/a