Downsample returns an Opt that enables downsampling to the given threshold number of data points per labeled series.
(threshold int)
| 120 | // Downsample returns an Opt that enables downsampling |
| 121 | // to the given threshold number of data points per labeled series. |
| 122 | func Downsample(threshold int) Opt { |
| 123 | return func(p *Plot) { p.threshold = threshold } |
| 124 | } |
| 125 | |
| 126 | // Label returns an Opt that sets the given Labeler |
| 127 | // to be used to partition results into multiple overlaid line charts. |
no outgoing calls