/// <summary> /// Create a fill area between lines for use on a line chart. /// </summary> /// <param name="color">an RRGGBB format hexadecimal number</param> /// <param name="startLineIndex">line indexes are determined by the order in which datasets are added. The first set is index 0, then index 1 etc</param> /// <param name="endLineIndex">line indexes are determined by the order in which datasets are added. The first set is index 0, then index 1 etc</param> public FillArea(string color, int startLineIndex, int endLineIndex) { this.type = FillAreaType.MultiLine; this.color = color; this.startLineIndex = startLineIndex; this.endLineIndex = endLineIndex; }
/// <summary> /// Fill all the area under a line /// </summary> /// <param name="color">an RRGGBB format hexadecimal number</param> /// <param name="lineIndex">line indexes are determined by the order in which datasets are added. The first set is index 0, then index 1 etc</param> public FillArea(string color, int lineIndex) { this.type = FillAreaType.SingleLine; this.color = color; this.startLineIndex = lineIndex; }