logarithmicBins() function generates a list of exponentially separated floats.
It is a helper function meant to generate bin bounds for the
Output data type: Array of floats
logarithmicBins( start:1.0, factor: 2.0, count: 10, infinity: true )
The first value in the returned bin list.
The multiplier applied to each subsequent bin.
The number of bins to create.
true, adds an additional bin with a value of positive infinity.
logarithmicBins(start: 1.0, factor: 2.0, count: 10, infinity: true) // Generated list: [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, +Inf]
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for Flux and this documentation. To find support, the following resources are available:
InfluxDB Cloud customers can contact InfluxData Support.