Skip to content

Commit

Permalink
fix some more URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
mirabilos committed Sep 13, 2022
1 parent 6422264 commit ac21bc8
Show file tree
Hide file tree
Showing 37 changed files with 46 additions and 44 deletions.
1 change: 1 addition & 0 deletions docs/.jslibs/jquery-ui.min.css
1 change: 1 addition & 0 deletions docs/.jslibs/jquery-ui.min.js
2 changes: 1 addition & 1 deletion docs/data.html
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ <h3>Functions</h3>
<a name="datatable"></a>
<h3>DataTable</h3>
<p>You can also specify a Google Visualization Library <a
href="https://developers.google.com/chart/interactive/docs/reference?csw=1#DataTable">DataTable</a>
href="https://developers.google.com/chart/interactive/docs/reference#DataTable">DataTable</a>
object as your input data. This lets you easily switch between dygraphs and
other gviz visualizations such as the Annotated Timeline. It also lets you
embed a Dygraph in a Google Spreadsheet.</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial.html
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ <h3 style="text-align:center">OUTPUT</h3>
<h2 id="gviz">GViz Data</h2>

<p>The <a
href="http://code.google.com/apis/visualization/documentation/index.html">Google
href="https://developers.google.com/chart/interactive/docs/reference">Google
Visualization API</a> provides a standard interface for describing data.
Once you've specified your data using this API, you can plug in any
GViz-compatible visualization. dygraphs is such a visualization. In
Expand All @@ -246,7 +246,7 @@ <h2 id="baseball">Charting Fractions</h2>

<ul>
<li>The average of <code>a1/b1</code> and <code>a2/b2</code> is <code>(a1+a2)/(b1+b2)</code>, not <code>(a1/b1 + a2/b2)/2</code>.</li>
<li>The normal approximation is not always applicable and more sophisticated confidence intervals (e.g. the <a href="http://en.wikipedia.org/wiki/Binomial_proportion_confidence_interval">Wilson confidence interval</a>) must be employed to avoid ratios that exceed 100% or go below 0%.</li>
<li>The normal approximation is not always applicable and more sophisticated confidence intervals (e.g. the <a href="https://en.wikipedia.org/wiki/Binomial_proportion_confidence_interval">Wilson confidence interval</a>) must be employed to avoid ratios that exceed 100% or go below 0%.</li>
</ul>

<p>Fortunately, dygraphs handles both of these for you! Here's a chart and the command that generated it:</p>
Expand Down
2 changes: 1 addition & 1 deletion dygraph-externs.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2006 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

// TODO(danvk): move the Dygraph definitions out of here once I closure-ify dygraphs.js
Expand Down
2 changes: 1 addition & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ browserify \
# Create dist/dygraph.tmp.js.map
exorcist --base . disttmp/dygraph.tmp.js.map <disttmp/dygraph.tmp.js >/dev/null

header='/*! @license Copyright 2017 Dan Vanderkam (danvdk@gmail.com) MIT-licensed (http://opensource.org/licenses/MIT) */'
header='/*! @license Copyright 2022 Dan Vanderkam (danvdk@gmail.com) and others; MIT-licenced: https://opensource.org/licenses/MIT */'

# Create dist/dygraph.js.min{,.map}
uglifyjs --compress --mangle \
Expand Down
2 changes: 1 addition & 1 deletion src/datahandler/bars-custom.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2013 David Eberlein (david.eberlein@ch.sauter-bc.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/datahandler/bars-error.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2013 David Eberlein (david.eberlein@ch.sauter-bc.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions src/datahandler/bars-fractions.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2013 David Eberlein (david.eberlein@ch.sauter-bc.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down Expand Up @@ -87,7 +87,7 @@ FractionsBarsHandler.prototype.rollingAverage =
var value = den ? num / den : 0.0;
if (wilsonInterval) {
// For more details on this confidence interval, see:
// http://en.wikipedia.org/wiki/Binomial_confidence_interval
// https://en.wikipedia.org/wiki/Binomial_proportion_confidence_interval
if (den) {
var p = value < 0 ? 0 : value, n = den;
var pm = sigma * Math.sqrt(p * (1 - p) / n + sigma * sigma / (4 * n * n));
Expand Down
2 changes: 1 addition & 1 deletion src/datahandler/bars.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2013 David Eberlein (david.eberlein@ch.sauter-bc.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/datahandler/datahandler.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2013 David Eberlein (david.eberlein@ch.sauter-bc.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/datahandler/default-fractions.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2013 David Eberlein (david.eberlein@ch.sauter-bc.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/datahandler/default.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2013 David Eberlein (david.eberlein@ch.sauter-bc.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/dygraph-canvas.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2006 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/dygraph-gviz.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2011 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/dygraph-interaction-model.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2011 Robert Konigsberg (konigsberg@google.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/dygraph-layout.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2011 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down
4 changes: 2 additions & 2 deletions src/dygraph-options-reference.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2011 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

"use strict";
Expand Down Expand Up @@ -820,7 +820,7 @@ OPTIONS_REFERENCE = // <JSON>
"default": "(depends on data)",
"labels": ["Data"],
"type": "Dygraph.DataHandler",
"description": "Custom DataHandler. This is an advanced customization. See http://bit.ly/151E7Aq."
"description": "Custom DataHandler. This is an advanced customization. See https://docs.google.com/document/d/1IWmX4oDbQbVtUoRNzSRG3yMpoBQ7LseVCQhGnuOZz_A (Dygraphs DataHandler Proposal)."
}
}
; // </JSON>
Expand Down
6 changes: 3 additions & 3 deletions src/dygraph-options.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2011 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down Expand Up @@ -384,9 +384,9 @@ DygraphOptions.prototype.warnInvalidOption_ = function(optionName) {
WARNINGS[optionName] = true;
var isSeries = (this.labels_.indexOf(optionName) >= 0);
if (isSeries) {
console.warn('Use new-style per-series options (saw ' + optionName + ' as top-level options key). See http://bit.ly/1tceaJs');
console.warn('Use new-style per-series options (saw ' + optionName + ' as top-level options key). See http://blog.dygraphs.com/2012/12/the-new-and-better-way-to-specify.html (The New and Better Way to Specify Series and Axis Options).');
} else {
console.warn('Unknown option ' + optionName + ' (full list of options at dygraphs.com/options.html');
console.warn('Unknown option ' + optionName + ' - full list of options at https://dygraphs.com/options.html');
}
throw "invalid option " + optionName;
}
Expand Down
2 changes: 1 addition & 1 deletion src/dygraph-tickers.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2011 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/dygraph-types.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2006 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

// This file contains typedefs and externs that are needed by the Closure Compiler.
Expand Down
2 changes: 1 addition & 1 deletion src/dygraph-utils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2011 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/dygraph.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2006 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/extras/crosshair.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2015 Petr Shevtsov (petr.shevtsov@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/*global Dygraph:false */
Expand Down
2 changes: 1 addition & 1 deletion src/extras/hairlines.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2013 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*
* Note: This plugin requires jQuery and jQuery UI Draggable.
*
Expand Down
2 changes: 1 addition & 1 deletion src/extras/rebase.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2015 Petr Shevtsov (petr.shevtsov@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*
* Rebase plugin
*
Expand Down
2 changes: 1 addition & 1 deletion src/extras/shapes.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2011 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion src/extras/super-annotations.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2013 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*
* Note: This plugin requires jQuery and jQuery UI Draggable.
*
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/annotations.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2012 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/*global Dygraph:false */
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/axes.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2012 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/

/*global Dygraph:false */
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/chart-labels.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2012 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/
/*global Dygraph:false */

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/grid.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2012 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/
/*global Dygraph:false */

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/legend.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2012 Dan Vanderkam (danvdk@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/
/*global Dygraph:false */

Expand Down
2 changes: 1 addition & 1 deletion src/plugins/range-selector.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @license
* Copyright 2011 Paul Felix (paul.eric.felix@gmail.com)
* MIT-licensed (http://opensource.org/licenses/MIT)
* MIT-licenced: https://opensource.org/licenses/MIT
*/
/*global Dygraph:false,TouchEvent:false */

Expand Down
2 changes: 1 addition & 1 deletion tests/annotation-native.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<script type="text/javascript" src="../dist/dygraph.js"></script>
</head>
<body>
<p>This test demonstrates how annotations can be used with <a href="http://dygraphs.com/data.html#array">native-format</a> data.</p>
<p>This test demonstrates how annotations can be used with <a href="../data.html#array">native-format</a> data.</p>

<div id="demodiv"></div>

Expand Down
4 changes: 2 additions & 2 deletions tests/hairlines.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@

<!-- Include the Javascript for the plug-in -->
<script src="../.jslibs/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.1/jquery-ui.min.js"></script>
<script src="../.jslibs/jquery-ui.min.js"></script>

<link rel='stylesheet' href='http://code.jquery.com/ui/1.10.1/themes/base/jquery-ui.css' />
<link rel="stylesheet" href="../.jslibs/jquery-ui.min.css" />

<script type="text/javascript" src="../src/extras/hairlines.js"></script>
<script type="text/javascript" src="../src/extras/super-annotations.js"></script>
Expand Down
8 changes: 4 additions & 4 deletions tests/plotters.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,24 @@
</head>
<body>
<p>This page demonstrates how to build custom plotters with dygraphs.
The <a href="http://dygraphs.com/options.html#plotter">plotter</a> option
The <a href="../options.html#plotter">plotter</a> option
allows you to write your own drawing logic. This can be used to achieve
powerful customization. View source to see how the examples work.</p>

<h2>Bar Chart</h2>
<p>Here a specialized <a
href="http://dygraphs.com/options.html#plotter">plotter</a> is used to draw
href="../options.html#plotter">plotter</a> is used to draw
a bar plot rather than a line plot:</p>
<div id="demodiv" class=chart></div>

<h2>Candle Chart</h2>
<p>Here a specialized <a
href="http://dygraphs.com/options.html#plotter">plotter</a> is used to
href="../options.html#plotter">plotter</a> is used to
combined four series into a unified "Candle" plot:</p>
<div id="candlechart" class=chart></div>

<h2>Bar &amp; Line Chart</h2>
<p>The <a href="http://dygraphs.com/options.html#plotter">plotter</a>
<p>The <a href="../options.html#plotter">plotter</a>
option may be set on a per-series basis to create mixed charts:</p>
<div id="barlinechart" class="chart"></div>

Expand Down

0 comments on commit ac21bc8

Please sign in to comment.