Class SimpleAxisChartOptions
java.lang.Object
com.orchestranetworks.addon.dqid.chart.Options
com.orchestranetworks.addon.dqid.chart.SimpleAxisChartOptions
- Direct Known Subclasses:
 AbstractBarChartOptions,LineChartOptions,SparklineChartOptions
Represents the common options for axis charts.
Notably line charts, bar charts and category bar charts.
Notably line charts, bar charts and category bar charts.
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionfinal voidsetDateFormat(String dateFormat) Sets a date-time format for the label on the axis.final voidsetNumberFormat(String numberFormat) Sets a number format for the labels on the axis.voidsetRotateTickXAxis(double rotateTickXAxis) A number between0and1that represents the tick x-axis percentage of rotate.final voidshowAxisLabels(boolean show) Sets whether to show axis labels or not.Methods inherited from class com.orchestranetworks.addon.dqid.chart.Options
setColors, setLegendPosition, setNumberOfColumnsInTheLegend, showGrid, showLegend, showTooltip 
- 
Constructor Details
- 
SimpleAxisChartOptions
public SimpleAxisChartOptions() 
 - 
 - 
Method Details
- 
showAxisLabels
public final void showAxisLabels(boolean show) Sets whether to show axis labels or not.Default value:
false. - 
setRotateTickXAxis
public void setRotateTickXAxis(double rotateTickXAxis) A number between0and1that represents the tick x-axis percentage of rotate.A value of
0represents a completely horizontal tick x-axis, reducing the view to a line.
A value of1represents a fully vertical view of the tick x-axis.
Default value:0.5. - 
setDateFormat
Sets a date-time format for the label on the axis.Note: The date-time format must follow the date and time pattern of java.text.SimpleDateFormat.
Example:
"yyyy-MM-dd" : "2001-06-04"
"MMM dd, yyyy" : "Jun 04, 2001"
"yy-M-d" : "01-6-4"
"MM/yyyy" : "06/2001"
"yyyy" : "2001"
"HH:mm" : "11:39"
...
Default value:"MM/dd/yyyy".
- Since:
 - 2.2.2
 
 - 
setNumberFormat
Sets a number format for the labels on the axis.Note: The number format must comply with the the number format of d3js library v4.
Example:
"+,%" : "+56,133%"
".1f" : "56133.1"
".4f" : "561.3330"
".0f" : "56133"
".4r" : "56130"
...
Default value:",.2f".
- Since:
 - 2.2.2
 
 
 -