Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
SvgHistogramRenderer.hpp
Go to the documentation of this file.
1
8
9#pragma once
10
13
14#include <map>
15#include <string>
16
17namespace correlation::plotters {
18
29[[nodiscard]] std::string
30renderHistogramAsSvg(const correlation::analysis::Histogram &hist,
31 const PlotConfig &config = PlotConfig(), const HoverInfo &hover = HoverInfo(),
32 const std::map<std::string, real_t> &weights = {},
33 const std::map<std::string, bool> &curve_visibility = {},
34 const std::map<std::string, std::string> &custom_colors = {});
35
36} // namespace correlation::plotters
Manager for distribution function calculations (RDF, PAD, S(Q), etc.).
Common types, configuration structures, and palette/formatting utilities for SVG plotting.
Definition ColormapService.hpp:18
std::string renderHistogramAsSvg(const correlation::analysis::Histogram &hist, const PlotConfig &config=PlotConfig(), const HoverInfo &hover=HoverInfo(), const std::map< std::string, real_t > &weights={}, const std::map< std::string, bool > &curve_visibility={}, const std::map< std::string, std::string > &custom_colors={})
Renders a single Histogram as a self-contained SVG string.
Definition SvgHistogramRenderer.cpp:1120
Information about the mouse hover position.
Definition PlotTypes.hpp:176
Theme and layout configuration for the plot.
Definition PlotTypes.hpp:42