Rock.Web.UI.Controls.SeriesOptions.SeriesOptions C# (CSharp) Method

SeriesOptions() public method

Initializes a new instance of the SeriesOptions class.
public SeriesOptions ( bool showBars, bool showLines, bool showPoints ) : System
showBars bool
showLines bool
showPoints bool
return System
        public SeriesOptions( bool showBars, bool showLines, bool showPoints )
        {
            if ( showBars )
            {
                bars = new Bars();
                bars.show = true;
            }

            if ( showLines )
            {
                lines = new Lines();
                lines.show = true;
            }

            if ( showPoints )
            {
                points = new Points();
                points.show = true;
            }
        }
SeriesOptions