Exemplo n.º 1
0
        public AxisTheme()
        {
            AxisStyle light = new AxisStyle()
            {
                TitleColor = Color.FromArgb(84, 84, 101), LabelColor = Color.Black, LineColor = Color.FromArgb(148, 148, 148), LiveColor = Color.FromArgb(253, 218, 30), ForecastColor = Color.FromArgb(240, 128, 128), GridColor = Color.FromArgb(213, 213, 213), SepatorColor = Color.FromArgb(240, 128, 128)
            };
            AxisStyle dark = new AxisStyle()
            {
                TitleColor = Color.White, LabelColor = Color.White, LineColor = Color.White, LiveColor = Color.FromArgb(253, 218, 30), ForecastColor = Color.FromArgb(240, 128, 128), GridColor = Color.FromArgb(213, 213, 213), SepatorColor = Color.FromArgb(240, 128, 128)
            };

            AddStyle(eThemeMode.Light, light);
            AddStyle(eThemeMode.Dark, dark);
        }
Exemplo n.º 2
0
        public override StyleBase Clone()
        {
            AxisStyle style = new AxisStyle();

            style.TitleColor    = this.TitleColor;
            style.LineColor     = this.LineColor;
            style.LabelColor    = this.LabelColor;
            style.GridColor     = this.GridColor;
            style.LiveColor     = this.LiveColor;
            style.ForecastColor = this.ForecastColor;
            style.SepatorColor  = this.SepatorColor;

            return(style);
        }