public BaseTemplate() { this.TileFormat = new TileFormat(); this.DefaultFont = new FontFormat("Segoe UI", 8.0f); this.TitleFont = new FontFormat("Segoe UI Semibold", this.DefaultFont.EmSize + 5.0f); this.Palette = PaletteBuilder.GetDefaultPalette(); this.Title = this.DefaultChartTitle; this.SubTitle = this.DefaultChartSubTitle; }
public FormattingOptions() { this.DefaultFont = new FontDesc("Segoe UI", 8.0f); float TitleFontSizeEmSize = this.DefaultFont.EmSize + 5.0f; this.ChartTitleFont = new FontDesc("Segoe UI Semibold", TitleFontSizeEmSize); if (this.Palette == null) { this.Palette = PaletteBuilder.GetDefaultPalette(); } this.RadialGradientStyle = MSCHART.GradientStyle.LeftRight; }