cond_format_databar_rule_t
Defined in header: <orcus/spreadsheet/cond_format.hpp>
-
struct cond_format_databar_rule_t
Stores a data bar rule of a conditional format, which draws a bar in each cell whose length reflects the cell value relative to two thresholds.
Public Functions
-
cond_format_databar_rule_t()
-
cond_format_databar_rule_t(const cond_format_databar_rule_t &other)
-
cond_format_databar_rule_t(cond_format_databar_rule_t &&other)
-
~cond_format_databar_rule_t()
-
cond_format_databar_rule_t &operator=(cond_format_databar_rule_t other)
-
void swap(cond_format_databar_rule_t &other) noexcept
Public Members
-
bool show_value = true
Whether or not to show the value in the cell.
-
bool gradient = true
Whether or not to use a gradient for the data bar.
-
databar_axis_t axis = databar_axis_t::none
Position of the 0 axis of the data bar.
-
double min_length = 10.0
Minimum length of the data bar.
-
double max_length = 90.0
Maximum length of the data bar.
-
std::vector<cond_format_value_t> values
Thresholds of the data bar.
-
cond_format_databar_rule_t()