Beispiel #1
0
        protected virtual void OnThemeChanged()
        {
            switch (theme)
            {
            case Theme.Dark:
                themeInfo.Copy(ThemeInfo.Dark);
                break;

            case Theme.Default:
                themeInfo.Copy(ThemeInfo.Default);
                break;

            case Theme.Light:
                themeInfo.Copy(ThemeInfo.Light);
                break;

            case Theme.MtLineStyle:
                themeInfo.Copy(ThemeInfo.MtLineStyle);
                break;

            case Theme.MtBarStyle:
                themeInfo.Copy(ThemeInfo.MtBarStyle);
                break;
            }
            InitTitle();
            InitLegend();
        }
Beispiel #2
0
        protected virtual void OnThemeChanged()
        {
            switch (theme)
            {
            case Theme.Dark:
                themeInfo.Copy(ThemeInfo.Dark);
                break;

            case Theme.Default:
                themeInfo.Copy(ThemeInfo.Default);
                break;

            case Theme.Light:
                themeInfo.Copy(ThemeInfo.Light);
                break;

            case Theme.AlphaNull:
                themeInfo.Copy(ThemeInfo.AlphaNull);
                break;
            }
            InitTitle();
            InitLegend();
        }