* Get appropriate part of dataset values for the current number of horizontal points. * @param dataset Dataset to get values of * @returns span covering dataset's current valid range. */
| 264 | * @returns span covering dataset's current valid range. |
| 265 | */ |
| 266 | std::span<const OverflowSafeInt64> GetDataSetRange(const DataSet &dataset) const |
| 267 | { |
| 268 | return {std::begin(dataset.values), std::begin(dataset.values) + this->num_on_x_axis}; |
| 269 | } |
| 270 | |
| 271 | /** |
| 272 | * Get the interval that contains the graph's data. Excluded data is ignored to show smaller values in |
no test coverage detected