Interactive visualizations of time series using JavaScript and the HTML canvas tag
window.smoothPlotter
will not be set by extras/smooth-plotter.js
any more RSN[]
as “no data yet” indicator (#597)Dygraph._require('dygraphs/src/dygraph-utils.js').numberValueFormatter
) which makes writing one’s own value formatters easier (as usual, proceed with care, exports with an underscore are internal); see https://dygraphs.com/tests/exported-symbols.html for the exposed surfacedrawCallback
when blocked (#953) plus do not redraw unnecessarilyx == -1
(#1002)panEdgeFraction
now worksjq
is now also required to buildpickDateTickGranularity
so overriding dateTicker
is easieryAxisLabelWidth
optiontests.js
source map and make its build reproducible on Debiantests/resizable.html
exposes the graph object, for quick F12 in-browser useversions.html
and release notes from new top-level CHANGES.md
this
rebinding checkThis is the first “full” release after v2.1.0 with the following news:
strokeStyle
option to crosshair plugin (#955)DocumentFragment
as a result from a legendFormatter
function (#958) (#959)legendFormatter
data (#965)#RRGGBB
/#RRGGBBAA
hex colour parsinganimateBackgroundFade
into an optionresizable
option using ResizeObserver
on maindiv + CSScanvasx
and canvasy
properties are initialised from the start (#896)highlightCallback
(#935)drawAxes
to allow one of two y axes to be drawn (#936)labelsKMB
and labelsKMG2
(#571) (#994) (#1022)onmouseover
legend mode was never updatedoffsetWidth
etc.logscale
(and sigma
, wilsonInterval
) per-axis (#986)xval
option (#992)hairlines.js
Intermediate release to test the current development state and the releasing process, also starting packaging for the Debian operating system. The full changes will be listed with the 2.2.0 release.
As it is “in beta state”, this release was pushed to NPM with the next
tag, not the latest
tag, so you’ll have to pass that or the explicit version number to install.
setAnnotations
’ second parameter is now an optional boolean (#851)pixelRatio
option, which may allow improved performance on smaller screens by controlling the canvas’ pixel ratio (#877)dygraph-externs.js
(#859)dygraph.js
and dygraph.min.js
.dygraph.css
file that you must include.valueRange
).legendFormatter
option (#683)this
is the Dygraph object in all callbacksvalueFormatter
extras/synchronizer.js
getRowForX
methodsetVisibility
can set the visibility of multiple series at once.highlightSeriesBackgroundColor
optionyAxisExtremes()
method.fillAlpha
can be set per-series when fillGraph
is set.xRangePad
was ignored on unzoom (#657)valueRange
with logscale
and yRangePad
has unexpected results (#661)drawGapEdgePoints
, unwanted point often drawn at beginning of chart (#745)legend: follow
positioning changessrc/
directoryfillGraph
)dygraph-combined-dev.js
)labelsUTC
option forces UTC formatting for all labels.This will be the last major release to support browsers without a native