Meshtastic App
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
Meshtastic App
feature-node
/
org.meshtastic.feature.node.metrics
/
LegendData
Legend
Data
data
class
LegendData
(
val
nameRes
:
StringResource
,
val
color
:
Color
,
val
isLine
:
Boolean
=
false
,
val
metricKey
:
Any
?
=
null
,
val
labelOverride
:
String
?
=
null
)
(
source
)
Members
Constructors
Legend
Data
Link copied to clipboard
constructor
(
nameRes
:
StringResource
,
color
:
Color
,
isLine
:
Boolean
=
false
,
metricKey
:
Any
?
=
null
,
labelOverride
:
String
?
=
null
)
Properties
color
Link copied to clipboard
val
color
:
Color
is
Line
Link copied to clipboard
val
isLine
:
Boolean
label
Override
Link copied to clipboard
val
labelOverride
:
String
?
When non-null, overrides the resolved
nameRes
string in the legend label.
metric
Key
Link copied to clipboard
val
metricKey
:
Any
?
name
Res
Link copied to clipboard
val
nameRes
:
StringResource