Beispiel #1
0
 /// <summary>
 /// Define a new Data Series with the given name and color, setting the specified label format.
 /// </summary>
 /// <param name="name">Name of the Data Series.</param>
 /// <param name="color">Color of the Data Series</param>
 /// <param name="labelFormat">Format to apply the label too</param>
 /// <param name="legendDisplay"></param>
 public DataSeries(string name, Color color, AxisLabelFormat labelFormat, LegendDisplayType legendDisplay)
 {
     Name  = name;
     Color = color;
     DataSeriesLabelFormat = labelFormat;
     LegendDisplay         = legendDisplay;
 }
Beispiel #2
0
 public NumberScaleAxis(int minimumValue, int maximumValue, int majorIncrement, int minorIncrement, int pixelsPerIncrement, AxisLabelFormat labelFormat) :
     base(AxisFormat.NUMBER_SCALE, minimumValue, maximumValue, majorIncrement, minorIncrement, pixelsPerIncrement)
 {
     LabelFormat = labelFormat;
 }
Beispiel #3
0
 public DateScaleAxis(DateTime minimumValue, DateTime maximumValue, int majorIncrementDaysBetween, int minorIncrementDaysBetween, int pixelsPerIncrement,
                      AxisLabelFormat labelFormat) :
     base(AxisFormat.DATE_SCALE, minimumValue, maximumValue, majorIncrementDaysBetween, minorIncrementDaysBetween, pixelsPerIncrement)
 {
     LabelFormat = labelFormat;
 }
Beispiel #4
0
 public DateAndTimeScaleAxis(int majorIncrementMinutes, int minorIncrementMinutes, int pixelsPerIncrement, AxisLabelFormat labelFormat) :
     base(AxisFormat.DATE_AND_TIME_SCALE, majorIncrementMinutes, minorIncrementMinutes, pixelsPerIncrement)
 {
     LabelFormat = labelFormat;
 }