Draws one histogram per Sample field (small multiples, hc_information_visualization.md SS6) plus a flagged-issue count, using DatasetValidator's existing production API (ComputeStatistics/DetectIssues) – no new core code needed, this is purely a consumer of data that already exists.
More...
#include <dataset_statistics_view.hpp>
|
| static void | Draw (const char *title, const Dataset &dataset, int num_bins=20) |
| |
Draws one histogram per Sample field (small multiples, hc_information_visualization.md SS6) plus a flagged-issue count, using DatasetValidator's existing production API (ComputeStatistics/DetectIssues) – no new core code needed, this is purely a consumer of data that already exists.
- Note
- Deliberately not unit-tested – see AttributionBarChart's note. Binning itself is plot_data.hpp's ToFieldHistogramBins, which is unit-tested.
◆ Draw()
| static void pulsatrix::DatasetStatisticsView::Draw |
( |
const char * |
title, |
|
|
const Dataset & |
dataset, |
|
|
int |
num_bins = 20 |
|
) |
| |
|
static |
- Parameters
-
| title | A unique ImGui child id for this view. |
| dataset | The dataset to summarize. Must be non-empty. |
| num_bins | Histogram bin count per field. |
The documentation for this class was generated from the following file: