Ejemplo n.º 1
0
        public Theme(bool dark, Position axisY, Position legend)
        {
            Plot = new _Plot(dark);

            Panel = new _Panel(dark);

            Axis = new _Axis(dark, axisY);

            Legend = new _Legend(dark, legend);

            Strip = new _Strip(dark);

            Tooltip = new Text
            {
                Size = new Size
                {
                    Value = 0.75,
                    Units = em
                },
                Color = "#FFF"
            };

            YLabel = new Text
            {
                Size = new Size
                {
                    Value = 0.75,
                    Units = em
                },
                Color = dark ? "#252A32" : "#FFFFFF",
                Fill  = dark ? "#FFFFFF" : "#252A32"
            };
        }
Ejemplo n.º 2
0
        public Theme(bool dark, Position axisY, Position legend)
        {
            FontFamily = "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\"";

            Plot = new _Plot(dark);

            Panel = new _Panel(dark);

            Axis = new _Axis(dark, axisY);

            Legend = new _Legend(dark, legend);

            Strip = new _Strip(dark);

            Animation = new _Animation();

            Tooltip = new _Tooltip();
        }
Ejemplo n.º 3
0
        public Theme(bool dark, Position axisY, Position legend)
        {
            FontFamily = "-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,\"Helvetica Neue\",Arial,\"Noto Sans\",sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\"";

            Plot = new _Plot(dark);

            Panel = new _Panel(dark);

            Axis = new _Axis(dark, axisY);

            Legend = new _Legend(dark, legend);

            Strip = new _Strip(dark);

            Animation = new _Animation();

            Tooltip = new Text
            {
                Size = new Size
                {
                    Value = 0.75,
                    Units = em
                },
                Color = "#FFF",
                Alpha = 0.8
            };

            YLabel = new Text
            {
                Size = new Size
                {
                    Value = 0.75,
                    Units = em
                },
                Color = dark ? "#252A32" : "#FFFFFF",
                Fill  = dark ? "#FFFFFF" : "#252A32"
            };
        }