LogDoctor/docs/html/classDonutBreakdown.html

7.9 KiB

<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"> <head> </head>
LogDoctor 2.00
Parse Apache2/Nginx/IIS logs and create statistics
Loading...
Searching...
No Matches

DonutBreakdon. More...

#include <donuts.h>

Inheritance diagram for DonutBreakdown:

Public Member Functions

void addBreakdownSeries (QPieSeries *series, const QColor &color, const QFont &font)
 Adds a slice to the donut. More...
 

Private Member Functions

void recalculateAngles ()
 Recalculates the size of every slice in percentage over the total.
 
void updateLegendMarkers ()
 Updates the position of the markers to be in the middle of the relative slice.
 

Detailed Description

DonutBreakdon.

Builds the donut chart to be displayed

Member Function Documentation

◆ addBreakdownSeries()

void DonutBreakdown::addBreakdownSeries ( QPieSeries *  series,
const QColor &  color,
const QFont &  font 
)

Adds a slice to the donut.

Parameters
seriesThe series to add
colorThe color of the slice
fontThe font to be used
See also
Craplog::makeChart()

The documentation for this class was generated from the following files:
  • logdoctor/modules/craplog/modules/donuts.h
  • logdoctor/modules/craplog/modules/donuts.cpp

Generated by doxygen 1.9.5 </html>