Package org.snpeff.stats.plot
Class GoogleHistogram
- java.lang.Object
-
- org.snpeff.stats.plot.GooglePlotInt
-
- org.snpeff.stats.plot.GoogleHistogram
-
public class GoogleHistogram extends GooglePlotInt
A simple wrapper to goolge charts API (from charts4j)- Author:
- pcingola
-
-
Field Summary
-
Fields inherited from class org.snpeff.stats.plot.GooglePlotInt
MAX_DATA_POINTS
-
-
Constructor Summary
Constructors Constructor Description GoogleHistogram(int[] x, int[] y, java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMaxBins()
void
setMaxBins(int maxBins)
java.lang.String
toURLString()
Create a histogram plot using Google charts-
Methods inherited from class org.snpeff.stats.plot.GooglePlotInt
getBarSpace, getBarWidth, getNumberLabelsXaxis, getPlotMaxData, getPlotSizeX, getPlotSizeY, getTitle, getxAxisLabel, setBarSpace, setBarWidth, setNumberLabelsXaxis, setPlotMaxData, setPlotSizeX, setPlotSizeY, setTitle, setxAxisLabel, subsample
-
-
-
-
Method Detail
-
getMaxBins
public int getMaxBins()
-
setMaxBins
public void setMaxBins(int maxBins)
-
toURLString
public java.lang.String toURLString()
Create a histogram plot using Google charts- Overrides:
toURLString
in classGooglePlotInt
- Returns:
-
-