jenkinsci / jenkinsci/plot-plugin
[JENKINS-54307] Plot plugin is not working for zero values on logaritmic scale
- Dominant language
- Java
- Stars
- 62
- Forks
- 93
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 1
Description
If for any reason, some value of a csv containing zero, the logaritmic graph representation fails as you can see on the attached image.
How to reproduce:
- add a job with a plotplugin post-build action step
- create a csv file like this:
echo "Method,Name,# requests,# failures,Median response time,Average response time,Min response time,Max response time,Average Content Size","Requests/s" > requests2.csv
echo "None,Total,1737387,21,170,185,0,31948,4023,1916.17" >> requests2.csv
- Check logaritmic representation
Note: changing zero value to other positive real number, the plot plugin is able to represent the graph.
Plot plugin version: 2.1.0
jenkins version: 2.3
---
Originally reported by davidgca, imported from: Plot plugin is not working for zero values on logaritmic scale
vgaidarji
Raw content of original issue
If for any reason, some value of a csv containing zero, the logaritmic graph representation fails as you can see on the attached image.
How to reproduce:
- add a job with a plotplugin post-build action step
- create a csv file like this:
echo "Method,Name,# requests,# failures,Median response time,Average response time,Min response time,Max response time,Average Content Size","Requests/s" > requests2.csv
echo "None,Total,1737387,21,170,185,0,31948,4023,1916.17" >> requests2.csv
- Check logaritmic representation
Note: changing zero value to other positive real number, the plot plugin is able to represent the graph.
Plot plugin version: 2.1.0
jenkins version: 2.3
1 attachment
- [Screenshot from 2018-10-29 10-48-07.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-misc/refs/heads/main/attachments/44888/Screenshot%20from%202018-10-29%2010-48-07.png)
> 
Contributor guide
Assessment
This issue has not been assessed yet.