Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
SvgHistogramRenderer.hpp File Reference

Declaration of single histogram rendering logic for the SVG plotter. More...

#include "analysis/DistributionFunctions.hpp"
#include "plotters/PlotTypes.hpp"
#include <map>
#include <string>
Include dependency graph for SvgHistogramRenderer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  correlation
namespace  correlation::plotters

Functions

std::string correlation::plotters::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.

Detailed Description

Declaration of single histogram rendering logic for the SVG plotter.

License
SPDX-License-Identifier: AGPL-3.0-only