inst/www/external/bower_components/flot/NEWS.md

Flot 0.8.3

Changes

Bug fixes

Flot 0.8.2

Changes

Bug fixes

Flot 0.8.1

Bug fixes

Flot 0.8.0

API changes

Support for time series has been moved into a plugin, jquery.flot.time.js. This results in less code if time series are not used. The functionality remains the same (plus timezone support, as described below); however, the plugin must be included if axis.mode is set to "time".

When the axis mode is "time", the axis option "timezone" can be set to null, "browser", or a particular timezone (e.g. "America/New_York") to control how the dates are displayed. If null, the dates are displayed as UTC. If "browser", the dates are displayed in the time zone of the user's browser.

Date/time formatting has changed and now follows a proper subset of the standard strftime specifiers, plus one nonstandard specifier for quarters. Additionally, if a strftime function is found in the Date object's prototype, it will be used instead of the built-in formatter.

Axis tick labels now use the class 'flot-tick-label' instead of 'tickLabel'. The text containers for each axis now use the classes 'flot-[x|y]-axis' and 'flot-[x|y]#-axis' instead of '[x|y]Axis' and '[x|y]#Axis'. For compatibility with Flot 0.7 and earlier text will continue to use the old classes as well, but they are considered deprecated and will be removed in a future version.

In previous versions the axis 'color' option was used to set the color of tick marks and their label text. It now controls the color of the axis line, which previously could not be changed separately, and continues to act as a default for the tick-mark color. The color of tick label text is now set either by overriding the 'flot-tick-label' CSS rule or via the axis 'font' option.

A new plugin, jquery.flot.canvas.js, allows axis tick labels to be rendered directly to the canvas, rather than using HTML elements. This feature can be toggled with a simple option, making it easy to create interactive plots in the browser using HTML, then re-render them to canvas for export as an image.

The plugin tries to remain as faithful as possible to the original HTML render, and goes so far as to automatically extract styles from CSS, to avoid having to provide a separate set of styles when rendering to canvas. Due to limitations of the canvas text API, the plugin cannot reproduce certain features, including HTML markup embedded in labels, and advanced text styles such as 'em' units.

The plugin requires support for canvas text, which may not be present in some older browsers, even if they support the canvas tag itself. To use the plugin with these browsers try using a shim such as canvas-text or FlashCanvas.

The base and overlay canvas are now using the CSS classes "flot-base" and "flot-overlay" to prevent accidental clashes (issue 540).

Changes

Bug fixes

Flot 0.7

API changes

Multiple axes support. Code using dual axes should be changed from using x2axis/y2axis in the options to using an array (although backwards- compatibility hooks are in place). For instance,

{
    xaxis: { ... }, x2axis: { ... },
    yaxis: { ... }, y2axis: { ... }
}

becomes

{
    xaxes: [ { ... }, { ... } ],
    yaxes: [ { ... }, { ... } ]
}

Note that if you're just using one axis, continue to use the xaxis/yaxis directly (it now sets the default settings for the arrays). Plugins touching the axes must be ported to take the extra axes into account, check the source to see some examples.

A related change is that the visibility of axes is now auto-detected. So if you were relying on an axis to show up even without any data in the chart, you now need to set the axis "show" option explicitly.

"tickColor" on the grid options is now deprecated in favour of a corresponding option on the axes, so:

{ grid: { tickColor: "#000" }}

becomes

{ xaxis: { tickColor: "#000"}, yaxis: { tickColor: "#000"} }

But if you just configure a base color Flot will now autogenerate a tick color by adding transparency. Backwards-compatibility hooks are in place.

Final note: now that IE 9 is coming out with canvas support, you may want to adapt the excanvas include to skip loading it in IE 9 (the examples have been adapted thanks to Ryley Breiddal). An alternative to excanvas using Flash has also surfaced, if your graphs are slow in IE, you may want to give it a spin:

http://code.google.com/p/flashcanvas/

Changes

See new example percentiles.html for a use case.

Can be disabled by setting the pan.frameRate option to null.

A resize() method has been added to plot object facilitate this.

This prevents a memory leak in Chrome and hopefully makes replotting faster for those who are using $.plot instead of .setData()/.draw(). Also update jQuery to 1.5.1 to prevent IE leaks fixed in jQuery.

Bug fixes

{brightness: x, opacity: y }

Fixes IE 9 compatibility.

Flot 0.6

API changes

Selection support has been moved to a plugin. Thus if you're passing selection: { mode: something }, you MUST include the file jquery.flot.selection.js after jquery.flot.js. This reduces the size of base Flot and makes it easier to customize the selection as well as improving code clarity. The change is based on a patch from andershol.

In the global options specified in the $.plot command, "lines", "points", "bars" and "shadowSize" have been moved to a sub-object called "series":

$.plot(placeholder, data, { lines: { show: true }})

should be changed to

  $.plot(placeholder, data, { series: { lines: { show: true }}})

All future series-specific options will go into this sub-object to simplify plugin writing. Backward-compatibility code is in place, so old code should not break.

"plothover" no longer provides the original data point, but instead a normalized one, since there may be no corresponding original point.

Due to a bug in previous versions of jQuery, you now need at least jQuery 1.2.6. But if you can, try jQuery 1.3.2 as it got some improvements in event handling speed.

Changes

The "setting options" example provides a demonstration.

Bug fixes

Flot 0.5

Timestamps are now in UTC. Also "selected" event -> becomes "plotselected" with new data, the parameters for setSelection are now different (but backwards compatibility hooks are in place), coloredAreas becomes markings with a new interface (but backwards compatibility hooks are in place).

API changes

Timestamps in time mode are now displayed according to UTC instead of the time zone of the visitor. This affects the way the timestamps should be input; you'll probably have to offset the timestamps according to your local time zone. It also affects any custom date handling code (which basically now should use the equivalent UTC date mehods, e.g. .setUTCMonth() instead of .setMonth().

Markings, previously coloredAreas, are now specified as ranges on the axes, like { xaxis: { from: 0, to: 10 }}. Furthermore with markings you can now draw horizontal/vertical lines by setting from and to to the same coordinate. (idea from line support patch by by Ryan Funduk)

Interactivity: added a new "plothover" event and this and the "plotclick" event now returns the closest data item (based on patch by /david, patch by Mark Byers for bar support). See the revamped "interacting with the data" example for some hints on what you can do.

Highlighting: you can now highlight points and datapoints are autohighlighted when you hover over them (if hovering is turned on).

Support for dual axis has been added (based on patch by someone who's annoyed and /david). For each data series you can specify which axes it belongs to, and there are two more axes, x2axis and y2axis, to customize. This affects the "selected" event which has been renamed to "plotselected" and spews out { xaxis: { from: -10, to: 20 } ... }, setSelection in which the parameters are on a new form (backwards compatible hooks are in place so old code shouldn't break) and markings (formerly coloredAreas).

Changes

Bug fixes

Flot 0.4

API changes

Deprecated axis.noTicks in favor of just specifying the number as axis.ticks. So xaxis: { noTicks: 10 } becomes xaxis: { ticks: 10 }.

Time series support. Specify axis.mode: "time", put in Javascript timestamps as data, and Flot will automatically spit out sensible ticks. Take a look at the two new examples. The format can be customized with axis.timeformat and axis.monthNames, or if that fails with axis.tickFormatter.

Support for colored background areas via grid.coloredAreas. Specify an array of { x1, y1, x2, y2 } objects or a function that returns these given { xmin, xmax, ymin, ymax }.

More members on the plot object (report by Chris Davies and others). "getData" for inspecting the assigned settings on data series (e.g. color) and "setData", "setupGrid" and "draw" for updating the contents without a total replot.

The default number of ticks to aim for is now dependent on the size of the plot in pixels. Support for customizing tick interval sizes directly with axis.minTickSize and axis.tickSize.

Cleaned up the automatic axis scaling algorithm and fixed how it interacts with ticks. Also fixed a couple of tick-related corner case bugs (one reported by mainstreetmark, another reported by timothytoe).

The option axis.tickFormatter now takes a function with two parameters, the second parameter is an optional object with information about the axis. It has min, max, tickDecimals, tickSize.

Changes

Bug fixes

Flot 0.3

This is mostly a quick-fix release because jquery.js wasn't included in the previous zip/tarball.

Changes

Bug fixes

Flot 0.2

The API should now be fully documented.

API changes

Moved labelMargin option to grid from x/yaxis.

Changes

Flot 0.1

First public release.



mgencare/RBigPivot documentation built on May 22, 2019, 8:53 p.m.