Class GooglePlotInt

java.lang.Object
org.snpeff.stats.plot.GooglePlotInt
Direct Known Subclasses:
GoogleHistogram

public class GooglePlotInt extends Object
A simple wrapper to goolge charts API (from charts4j) Plots integer data
Author:
pcingola
  • Field Details

  • Constructor Details

    • GooglePlotInt

      public GooglePlotInt(int[] x, int[] y, String title, String xAxisLabel, String yAxisLabel)
  • Method Details

    • getBarSpace

      public int getBarSpace()
    • getBarWidth

      public int getBarWidth()
    • getNumberLabelsXaxis

      public int getNumberLabelsXaxis()
    • getPlotMaxData

      public int getPlotMaxData()
    • getPlotSizeX

      public int getPlotSizeX()
    • getPlotSizeY

      public int getPlotSizeY()
    • getTitle

      public String getTitle()
    • getxAxisLabel

      public String getxAxisLabel()
    • setBarSpace

      public void setBarSpace(int barSpace)
    • setBarWidth

      public void setBarWidth(int barWidth)
    • setNumberLabelsXaxis

      public void setNumberLabelsXaxis(int numberLabelsXaxis)
    • setPlotMaxData

      public void setPlotMaxData(int plotMaxData)
    • setPlotSizeX

      public void setPlotSizeX(int plotSizeX)
    • setPlotSizeY

      public void setPlotSizeY(int plotSizeY)
    • setTitle

      public void setTitle(String title)
    • setxAxisLabel

      public void setxAxisLabel(String xAxisLabel)
    • subsample

      public void subsample(int numberOfPoints, boolean averageY)
      Re sample data so it has at most 'numberOfPoints'
    • toURLString

      public String toURLString()
      Create a histogram plot using Google charts
      Returns: