Skip to content

Releases: d3plus/d3plus

1.1.8

17 Feb 18:46
Compare
Choose a tag to compare
  • created d3plus.color.mix() to mix 2 hexadecimal colors
  • d3plus.utils.wordwrap() now breaks SVG text at the following characters: - / : ; % &
  • tooltip titles now appropriately break up long text (ex. URLs)
  • added ability to adjust .legend() color block ordering
  • better logic for automatically determining .width() and .height() of visualization when they are not specified
  • changed default color scale used for assigning colors to d3.scale.category20()
  • added styling for timeline handles
  • fixed bug where certain grid lines would not appear in Chart
  • Rings is now able to be drawn without setting .nodes()
  • fixed bug which made mouse hit areas visible in Line Plots
  • corrected logic for coloring lines in Line Plots
  • fixed static tooltip positioning when .title() methods are set
  • made .legend() visible when .color() is not specified (defaults to coloring by .id())
  • sped up link highlighting in Rings and Network
  • added tooltip width to style parameters
  • removed some deprecated code and CSS
  • other small bug fixes and stability improvements

1.1.7

14 Feb 21:31
Compare
Choose a tag to compare
  • fixed grid lines in Chart not updating properly
  • created "threshold" for grouping elements beneath a certain .size() together
  • Stacked is the first app to use the new "threshold" key of .size()
  • drastic speed improvements for all apps that use the .legend()
  • slightly better logic for nesting data
  • better resizing/positioning of .timeline() and .legend()
  • fixed Geo Map coordinates not resizing with the Visualization
  • moved the icon style parameter into the .icon() method to allow specific nesting styles
  • made the .width() and .height() "small" limits publicly accessible
  • added a "missing" key to the style parameters for color
  • implemented a much stricter class naming convention to not interfere with other libraries
  • created utils.dataurl, a utility that converts image URLs to Base 64 data URLs

1.1.6

11 Feb 19:55
Compare
Choose a tag to compare
  • fixed issue where solo/mute filters would not update visualization
  • fixed timeline bug when .time() had no "solo" key
  • fixed "share" axis scale in Chart
  • fixed axis grids not updating in Chart
  • utils.wordwrap now correctly separates words at hyphens
  • improved center label sizing in Rings

1.1.5

11 Feb 17:32
Compare
Choose a tag to compare
  • fixed issue with updating .style() keys that accept arrays
  • fixed .timeline() bug where the last year was not selectable
  • multiple small .timeline() and .legend() design enhancements
  • color scale in .legend() now automatically adds tick marks if range has less than 3 values
  • .style() for legend now supports variable key size (as min/max)
  • .coords() now supports passing a keyed object with 5 new variables available to set: "fit", "mute", "padding", "projection", and "solo"
  • when drawing a visualization, D3plus now will filter out any shapes that are too small to be visible on screen (for example, speeds up Stacked Area Charts when there are a lot of very thing data areas)
  • 100% corrected positioning of tooltips in container
  • fixed edge-case bug where sometimes D3plus would no longer display any data after using the .timeline() to solo a year that didn't have any
  • numerous d3plus.ui() additions/fixes

1.1.4

09 Feb 19:45
Compare
Choose a tag to compare
  • fixed update behavior for network visualizations that use links
  • fixed label alignment in Firefox
  • fixed .timeline() bug where extra years get added while dragging
  • fixed tooltip positioning on larger visualizations
  • better error detection for edge-cases where there is no data available
  • numerous d3plus.ui() fixes and improvement

1.1.3

07 Feb 16:29
Compare
Choose a tag to compare
  • fixed a problem with the default .number_format() method not properly formatting large negative numbers
  • sped up .attrs() initialization
  • fixed .timeline() bug where click events would sometimes not work after updating .data() with more years
  • made .timeline() mouse events update faster
  • .timeline() now works with larger year intervals (ex. 2002,2004,2006,...)
  • cleaned up some mouse event behavior
  • potential fix for some circles not being completely round (still keeping an eye out for this one)
  • implemented "click-to-recenter" back into Rings
  • added new "limit" variable to the .links() method. This allows the user to limit the amount of primary connections shown in apps that focus on specific nodes (currently only used in Rings)
  • other small bug fixes with Rings
  • better error detection in Rings
  • multiple updates to the d3plus.ui() beta code

1.1.2

31 Jan 22:01
Compare
Choose a tag to compare
  • fixed problem with .viz() private variables overwriting the public variables
  • added optional increment to color.lighter and color.darker utilities
  • new global variable that detects if Font Awesome is loaded on the page: d3plus.fontawesome
  • new global variable that detects if the page text direction is "right-to-left": d3plus.rtl
  • new global function that returns the width of the current browser's scrollbar: d3plus.scrollbar()
  • fixed bug with utils.merge where second object's value would not overwrite the first object's value if they were of different types

This version of D3plus begins the inclusion of beta code for d3plus.ui(), a new part of the library that will allow for easy dropdowns, buttons, and toggles. It is very early in development, and we will fully document it when it is stable/completed.

1.1.1

28 Jan 19:11
Compare
Choose a tag to compare
  • fixed problem with overall clipping mask not updating with .width() and .height() change
  • fixed icons not appearing in the new .legend()

1.1.0 "Navy"

23 Jan 22:53
Compare
Choose a tag to compare

In the Navy

Our first major release since 1.0. This marks the addition of two awesome UI elements, some variable re-organization, and a host of bug fixes. Here's everything that has changed:

  • New .legend() method that displays a color key or color scale on the bottom of the visualization. By default, it is turned on.
  • New .timeline() method that displays a timeline on the bottom of the visualization that allows the user to change the time being shown in the visualization. By default, it is turned on.
  • Reconfigured the "static" boolean in .axes(). It now lives inside of .time(), is called "fixed", and the behavior has been reversed to match the new name.
  • New .strip() utility that removes all punctuation and accents from a string.
  • A bunch of color scale bug fixes and speed enhancements when coloring by a number.
  • Fixed .number_format() and .text_format() methods not working as intended.
  • Fixed .tooltip() logic to work as expected.
  • Created .html() method based on the deprecated .tooltip() key of the same name.
  • Changed "default" key name to "value" for all public variables.
  • Fixed a slew of cross-browser bugs.
  • Various speed improvements.

1.0.2

20 Jan 19:09
Compare
Choose a tag to compare
  • fixed visualization not responding to updating .title()
  • disabled mouse events during .draw() method
  • removed some deprecated code/styles
  • added labels back into the Rings visualization type
  • gave more label control to apps (if needed)
  • added label font style parameters