Example #1
0
        public object Clone()
        {
            LineSeriesTheme theme = new LineSeriesTheme();
            StyleBase       light = this.GetStyle(eThemeMode.Light).Clone();
            StyleBase       dark  = this.GetStyle(eThemeMode.Dark).Clone();

            theme.AddStyle(eThemeMode.Light, light);
            theme.AddStyle(eThemeMode.Dark, dark);
            return(theme);
        }
Example #2
0
 public virtual void AddStyle(eThemeMode mode, StyleBase style)
 {
     _styles[mode] = style;
 }