Пример #1
0
        public Plot()
        {
            title = new PlotSettings.Label {
                text = "Title", fontSize = 16, weight = SKFontStyleWeight.Bold
            };
            yLabel = new PlotSettings.Label {
                text = "Vertical Label", fontSize = 16, weight = SKFontStyleWeight.SemiBold
            };
            xLabel = new PlotSettings.Label {
                text = "Horzontal Label", fontSize = 16, weight = SKFontStyleWeight.SemiBold
            };
            y2Label = new PlotSettings.Label {
                text = "Vertical Label Too", fontSize = 16, weight = SKFontStyleWeight.SemiBold
            };

            yTicks  = new PlotSettings.TickCollection(PlotSettings.Side.left);
            xTicks  = new PlotSettings.TickCollection(PlotSettings.Side.bottom);
            y2Ticks = new PlotSettings.TickCollection(PlotSettings.Side.right);
        }
Пример #2
0
        /// <summary>
        /// Create a new Plot
        /// </summary>
        public Plot()
        {
            title = new PlotSettings.Label {
                text = "Title", fontSize = 16, bold = true
            };
            yLabel = new PlotSettings.Label {
                text = "Vertical Label"
            };
            xLabel = new PlotSettings.Label {
                text = "Horzontal Label"
            };
            y2Label = new PlotSettings.Label {
                text = ""
            };

            yTicks  = new PlotSettings.TickCollection(PlotSettings.Side.left);
            xTicks  = new PlotSettings.TickCollection(PlotSettings.Side.bottom);
            y2Ticks = new PlotSettings.TickCollection(PlotSettings.Side.right);
        }