A library for working with phylogenetic and population genetic data.
v0.32.0
pie_chart.hpp File Reference
#include "genesis/utils/formats/svg/attributes.hpp"
#include "genesis/utils/formats/svg/group.hpp"
#include "genesis/utils/formats/svg/shapes.hpp"
#include "genesis/utils/math/common.hpp"
#include <map>
#include <string>
#include <utility>
#include <vector>

Go to the source code of this file.

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::utils
 

Functions

SvgGroup make_svg_pie_chart (std::vector< double > const &values, std::vector< Color > const &colors, double radius=1.0, double start_angle=- PI/2.0, bool clockwise=true)
 Make a pie chart in SVG. More...