9 #include <core/data/flexible_type/flexible_type.hpp> 16 namespace visualization {
18 std::string histogram_spec(
const flexible_type& title,
const flexible_type& xlabel,
const flexible_type& ylabel,
flex_type_enum dtype);
19 std::string categorical_spec(
const flexible_type& title,
const flexible_type& xlabel,
const flexible_type& ylabel,
flex_type_enum dtype);
21 std::string summary_view_spec(
size_t length_elements);
24 std::string scatter_spec(
const flexible_type& xlabel,
const flexible_type& ylabel,
const flexible_type& title);
25 std::string heatmap_spec(
const flexible_type& xlabel,
const flexible_type& ylabel,
const flexible_type& title);
26 std::string categorical_heatmap_spec(
const flexible_type& xlabel,
const flexible_type& ylabel,
const flexible_type& title);
27 std::string boxes_and_whiskers_spec(
const flexible_type& xlabel,
const flexible_type& ylabel,
const flexible_type& title);
30 std::string make_format_string(
const std::string& raw_str);
31 std::string make_format_string(
unsigned char *raw_format_str_ptr,
32 size_t raw_format_str_len);
33 std::string format(
const std::string& format_str,
const std::unordered_map<std::string, std::string>& format_params);
37 #endif // __TC_VEGA_SPEC