Kozea / pygal

PYthon svg GrAph plotting Library
https://www.pygal.org
GNU Lesser General Public License v3.0
2.64k stars 411 forks source link

Feature request for error bars in line chart. #400

Open martoro opened 7 years ago

martoro commented 7 years ago

Currently, pygal.Line's add method accepts only values:

Signature: line_chart.add(title, values, **kwargs)

Please allow adding error bars around the values. Here is an example from a stackoverflow question.

rouilj commented 3 years ago

Does https://www.pygal.org/en/stable/documentation/configuration/value.html#confidence-intervals solve this?

It doesn't seem to work if your plot uses the secondary axis, but it should handle your use case.