public double GetMaximum() { CT_Scaling ctScaling = this.GetCTScaling(); if (ctScaling.IsSetMax()) { return(ctScaling.max.val); } return(0.0); }
public double GetMaximum() { CT_Scaling scaling = GetCTScaling(); if (scaling.IsSetMax()) { return(scaling.max.val); } else { return(0.0); } }
public void SetMaximum(double max) { CT_Scaling scaling = GetCTScaling(); if (scaling.IsSetMax()) { scaling.max.val = max; } else { scaling.AddNewMax().val = max; } }
public void SetMinimum(double min) { CT_Scaling scaling = GetCTScaling(); if (scaling.IsSetMin()) { scaling.min.val = min; } else { scaling.AddNewMin().val = min; } }
public void SetMinimum(double min) { CT_Scaling ctScaling = this.GetCTScaling(); if (ctScaling.IsSetMin()) { ctScaling.min.val = min; } else { ctScaling.AddNewMin().val = min; } }
public void SetMaximum(double max) { CT_Scaling ctScaling = this.GetCTScaling(); if (ctScaling.IsSetMax()) { ctScaling.max.val = max; } else { ctScaling.AddNewMax().val = max; } }
public void SetOrientation(AxisOrientation orientation) { CT_Scaling scaling = GetCTScaling(); ST_Orientation stOrientation = fromAxisOrientation(orientation); if (scaling.IsSetOrientation()) { scaling.orientation.val = stOrientation; } else { GetCTScaling().AddNewOrientation().val = stOrientation; } }
public void SetOrientation(AxisOrientation orientation) { CT_Scaling ctScaling = this.GetCTScaling(); ST_Orientation stOrientation = XSSFChartAxis.fromAxisOrientation(orientation); if (ctScaling.IsSetOrientation()) { ctScaling.orientation.val = stOrientation; } else { this.GetCTScaling().AddNewOrientation().val = stOrientation; } }
public void SetLogBase(double logBase) { if (logBase < XSSFChartAxis.MIN_LOG_BASE || XSSFChartAxis.MAX_LOG_BASE < logBase) { throw new ArgumentException("Axis log base must be between 2 and 1000 (inclusive), got: " + (object)logBase); } CT_Scaling ctScaling = this.GetCTScaling(); if (ctScaling.IsSetLogBase()) { ctScaling.logBase.val = logBase; } else { ctScaling.AddNewLogBase().val = logBase; } }
public void SetLogBase(double logBase) { if (logBase < Min_LOG_BASE || Max_LOG_BASE < logBase) { throw new ArgumentException("Axis log base must be between 2 and 1000 (inclusive), got: " + logBase); } CT_Scaling scaling = GetCTScaling(); if (scaling.IsSetLogBase()) { scaling.logBase.val = logBase; } else { scaling.AddNewLogBase().val = (logBase); } }