Legend

Search for usage in LXR

Legend Class Reference

Inherits Control.

Properties

ChartsChart chart
 
string colorRole
 
alias delegate
 
var formatValue
 
int highlightedIndex
 
bool highlightEnabled
 
alias horizontalSpacing
 
real maximumDelegateWidth
 
var maximumValueWidth
 
alias model
 
string nameRole
 
alias preferredWidth
 
string shortNameRole
 
string valueRole
 
alias verticalSpacing
 

Detailed Description

A pre-made legend control that displays a legend for charts.

Definition at line 15 of file Legend.qml.

Property Documentation

◆ chart

ChartsChart Legend::chart
read

The chart to display the legend for.

Definition at line 20 of file Legend.qml.

◆ colorRole

string Legend::colorRole
read

Definition at line 48 of file Legend.qml.

◆ delegate

alias Legend::delegate
read

The delegate to use to display legend information.

See also
Legend::delegate

Definition at line 26 of file Legend.qml.

◆ formatValue

var Legend::formatValue
read

Definition at line 38 of file Legend.qml.

◆ highlightedIndex

int Legend::highlightedIndex
read

Definition at line 54 of file Legend.qml.

◆ highlightEnabled

bool Legend::highlightEnabled
read

Definition at line 52 of file Legend.qml.

◆ horizontalSpacing

alias Legend::horizontalSpacing
read

Definition at line 32 of file Legend.qml.

◆ maximumDelegateWidth

real Legend::maximumDelegateWidth
read

Definition at line 36 of file Legend.qml.

◆ maximumValueWidth

var Legend::maximumValueWidth
read

Definition at line 40 of file Legend.qml.

◆ model

alias Legend::model
read

Definition at line 30 of file Legend.qml.

◆ nameRole

string Legend::nameRole
read

Definition at line 44 of file Legend.qml.

◆ preferredWidth

alias Legend::preferredWidth
read

Definition at line 42 of file Legend.qml.

◆ shortNameRole

string Legend::shortNameRole
read

Definition at line 46 of file Legend.qml.

◆ valueRole

string Legend::valueRole
read

Definition at line 50 of file Legend.qml.

◆ verticalSpacing

alias Legend::verticalSpacing
read

Definition at line 34 of file Legend.qml.


The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 26 2024 11:53:03 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.