/// <summary> /// Headline object. /// </summary> /// <param name="headline">The text for the headline. Default settings: Font=Arial, Color=White , fontsize=16, alignment = Center | Top.</param> /// <param name="fontSize">Font size for the headline. Default is 16.</param> /// <param name="headlineColor">Color for the headline. Default is white.</param> /// <param name="align">Defined with ChartHeadline.AlignTypes. Defaullt is Top | Center.</param> /// <param name="useShadow">Toggle the shadow. Default is true (on).</param> public ChartHeadline(string headline, int fontSize, Color headlineColor, ChartAlignTypes align, bool useShadow) { Headline = headline; FontSize = fontSize; HeadlineColor = headlineColor; Align = align; UseShadow = useShadow; }
/// <summary> /// Headline object. /// </summary> /// <param name="headline">The text for the headline. Default settings: Font=Arial, Color=White , fontsize=16, alignment = Center | Top.</param> /// <param name="align">Defined with ChartHeadline.AlignTypes. Defaullt is Center | Top.</param> public ChartHeadline(string headline, ChartAlignTypes align) { Headline = headline; Align = align; }