terezka / elm-charts

Create SVG charts in Elm.
https://www.elm-charts.org
BSD 3-Clause "New" or "Revised" License
734 stars 67 forks source link

Expose PlotSummary to dataPoint view and scaleValue #75

Closed mrvicadai closed 3 years ago

mrvicadai commented 7 years ago

First of all, thanks for making this amazing library! I'm having a lot of fun using it.

When I was trying to build a graph that visualizes confidence interval in a customSeries chart, I ran into a snag that there is no way to calculate the scaled value of a certain delta in my data point.

By exposing the summary Record to the svgView I am now able to achieve that with the assist of scaleValue. Here is the final result:

screen shot 2017-10-11 at 2 49 19 pm