- [new] Add
highlight()method to change highlighted date after calendar initialization - [new] CSV files works out-of-the-box, as long as the first 2 columns are the timestamp and value.
- [change] Fatal errors throws errors intead of a simply console.log()
- [fix] Fix bug when trying to load plain text file as datasource
- More test and code improvement
- [fix] Fix #47: Increase d3 version dependency
- [new] Add tooltip on date hover
- [Fix] Fix #45: Fix loss of htmlClass (e.g. highlight) for graph rects with zero scale
- [fix] Fix broken
afterLoadPreviousDomaincallback
- [new] Add
jumpTo()method to scroll the calendar to the specified date - [new]
setLegend()will redraw the legend if some of its settings (cellSize/padding, position, etc ...) were changed - [new] Add
legendColorssetting, to dynamically control the heatmap colors - [new] Add
showLegend()andremoveLegend()methods - [new]
next()andprevious()now takes an argument, to scroll multiple domains at once - [new] Add
legendOrientationsetting - [new] Add
rowLimitandcolLimitsetting to control the number of columns and rows in a domain - [fix] Fix #37: two days get summed
- [change] All invalid data (not a number) will be ignored
- [change]
setLegend()now takes a legend threshold array as first argument, and a color array as second argument
- [fix] Fix #35: Can't load new domain with
next()when the new domain's timestamp contains more character
- [fix] Fix #33: domain browsing is incrementing the calendar's value when data is a json object
- [fix] Fix #34: Only the newly appended domain can be manipulated by
update()after callingnext()orprevious() - [new] Add
setLegend()method to redefine legend threshold
- [new] Add
update()method, to update calendar data. - [improvement] Use d3.js internal methods to bind data to subDomains
- [new] Fix #26: add
considerMissingDataAsZerooption to consider missing value as zero
- [new] Add
minDate,startDateto limit domain navigation beyond certain dates - [new] Add
onMaxDomainReached()andonMinDomainReached()events, triggered when navigation is hitting the lower/upper domain limit - [change]
next()andprevious()will now always returntrue, as long as there is more domain to load
- [fix] Fix domain month class (
m_x) beginning atm_0insted ofm_1 - [new] Add new domain class:
dy_xfor the day of the week
- [fix] Bring back the dynamic domain width/height
- [fix] Fix
daysubdomains displaying garbage when using domain other thanmonth - [new] Add
domainDynamicDimensionto disable dynamic domain width/height (default: true)
- [fix] Fix domain month when using day subDomain
- [Fix] Fix calendar crashing in IE when using d3.js >= v3.2.4
- [Fix] Fix overflow when adding/removing domains dynamically in IE
- [fix] Fix
subDomainTitleFormatnot applying to subDomain with data
- [fix] Fix
onComplete()event not firing when loading data from a json object indataoption
- [fix] Add missing files
v3 is a major release, a lot of changes are not backward compatible with v2.
See the migration guide for update process.
- [new] Add Vertical orientation
- [new] Add option to display a date inside subDomain cells
- [new] Replace
idwithitemSelector, and accept any kind of CSS3 selector string - [new] subDomain highlighting can highlight more that today
- [new] domain highlighting
- [new]
nextSelectorandpreviousSelectorto attach domain navigation to any DOM Element - [new] Add
tsvto accepted dataType - [new] More control about legend position and size
- [new] More control about domain label position and size
- [new] Label rotation, to display text vertically
- [new]
getSVG()method to export SVG code
- [new] Highlight today's rectangle (only available when subdomain is equal to "day")
- [fix] Fix plurals title (Issue #14)
- [new] Add
afterLoadDatacallback, to apply your own conversion function when the API don't return data in the expected format - [new] Add
dataTypeproperty to specify data source format type. Can use json (default), csv or txt. - [fix] Fix wrong number of minutes when using minutes subdomain with a week domain
- [new] Add
startWeekOnMondayto choose whether to start the week on Monday or Sunday
- [new]
x_daysubdomain to display days horizontally, grouped by week - [new]
cellradiusproperty to apply rounded corner to subdomain cell
[enhancement] More faster tests
- [fix#6] Can now pass a function to date formatter, to format the date using an external library like moment.js
- [fix#9] null values not interpreted as "empty" when rendering the title
- [new] onComplete callback
- [new#5] AfterLoad callback, called when the calendar is fully drawn, but not filled with datas yet
- [new#6] Add options to customize all text
- [fix] Handle not valid callback
See documentation for i18n usage
- [fix#8] Support for null values
- [fix#7] Wrong color for the last interval values
- [fix] Floating number does not display in tooltip
- [enhancement] Change cursor to pointer on subdomain hover if it's associated to an onClick event
- [fix] Fix domain positioning on Firefox
- [new] Can know browse the calendar, by setting the new
browsingproperty totrue - [new] Add animation when displaying the scale
- [change] Rename
scalesproperty toscale
- [fix] Fix displaying week subdomain from a year domain
- [new] Add test code coverage in grunt
- [new] Add Bower and Jam support
- [new] Change
uriproperty todata. It can now accepts a file path to a JSON file, directly a JSON object, or a string template.
The string template is usually a dynamic url to an API, like
api.com/get?start=xxx&end=yyy, where xxx and yyy are respectively the first and last date of the calendar. You can use tokens to dynamically insert the calendar first and last date in the url. See documentation for accepted tokens.
Example :api?start={{t:start}}&end={{d:end}}will fetchapi?start=1362006000&end=2013-02-27T23:00:00.000Z
- [new] Add AMD support
- First release