zng::data_context

Function replace_data_note_colors

source
pub fn replace_data_note_colors(
    child: impl UiNode,
    colors: impl IntoVar<HashMap<DataNoteLevel, LightDark>>,
) -> impl UiNode
Expand description

P Sets the data note level colors, the parent colors are fully replaced.

The colors will be used directly as text color.

This property sets the DATA_NOTE_COLORS_VAR.