X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=docs%2Findex.html;h=2391867e971b957a1f0b1aca524e379651ef27b8;hb=ed7ffce43842be515b141adb0926e70478eefbe1;hp=421ca3abbf46fa962ceaf2818fd1bbd9a867327f;hpb=14c9d5bb3d2a2d2fd3a329003e43ae58ba4c784a;p=dygraphs.git diff --git a/docs/index.html b/docs/index.html index 421ca3a..2391867 100644 --- a/docs/index.html +++ b/docs/index.html @@ -58,7 +58,7 @@
  • Negative Numbers
  • Noisy Data
  • Multiple Series
  • -
  • Custom Underlay / background
  • +
  • Custom Underlay / background
  • @@ -706,6 +706,16 @@ perl -ne 'BEGIN{print "Month,Nominal,Real\n"} chomp; ($m,$cpi,$low,$close,$high) Function to call to format values along the x axis.
    Tests: xAxisLabelFormatter
    + + + yAxisLabelFormatter + function(x) + yValueFormatter + + Function used to format values along the Y axis. By default it uses the same as the yValueFormatter unless specified. +
    Tests: yAxisLabelFormatter
    + + rightGap integer @@ -813,6 +823,46 @@ perl -ne 'BEGIN{print "Month,Nominal,Real\n"} chomp; ($m,$cpi,$low,$close,$high) 320 + + stepPlot + boolean + false + + When set, display the graph as a step plot instead of a line plot. +
    Tests: steps
    + + + + + xValueFormatter + function(x) + + + Function to provide a custom display format the X value for mouseover. + + + + + yValueFormatter + function(x) + (Round to 2 decimal places) + + Function to provide a custom display format for the Y value for mouseover. +
    Tests: yAxisLabelFormatter
    + + + + + avoidMinZero + boolean + false + + When set, the heuristic that fixes the Y axis at zero for a data set with the minimum Y value of zero is disabled. + This is particularly useful for data sets that contain many zero values, especially for step plots which may otherwise have lines not visible running along the bottom axis. +
    Tests: avoidMinZero
    + + + @@ -839,7 +889,7 @@ perl -ne 'BEGIN{print "Month,Nominal,Real\n"} chomp; ($m,$cpi,$low,$close,$high)

    Call org.danvk.Dygraphs.install() when your application starts to install the JavaScript code into the browser. You can use JSNI to call Dygraphs from your GWT code, as in the example below. The example uses the Visualization API for GWT and the Dygraphs GViz API.

    -  public static native JavaScriptObject drawDygraph(Element element, DataTable data, double minY, double maxY) /*-{
    +  public static native JavaScriptObject drawDygraph(Element element, DataTable dataTable, double minY, double maxY) /*-{
         var chart = new $wnd.Dygraph.GVizChart(element);
         chart.draw(dataTable,
           {