egui-charts 0.2.0

High-performance financial charting engine for egui — candlesticks, 95 drawing tools, 130+ indicators, and a full design-token theme system
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Actions from the series settings dialog.

use crate::chart::series::{SeriesId, SeriesSettings};

/// Actions from the series settings dialog
#[derive(Clone, Debug)]
pub enum SeriesSettingsAction {
    /// No action
    None,
    /// Cancel changes
    Cancel,
    /// Apply settings to series
    Apply(SeriesId, SeriesSettings),
    /// Reset series to default settings
    ResetToDefault(SeriesId),
}