- Information
- License (MIT)
- Recent Changes
- Supported Languages
- Supported Export Types
- Supported Import Types
- Setup
- Getting Started
- CDN Links
- Navigation
- Shortcut Keys
- API
- Public Functions
- Configuration
- Main
- Text (locale)
- Binding Options
- Basic
- Holiday
- Dynamic Color Range
- Color Range
- Date Formatting
- Custom Triggers
- Binding Options - Layout
- Side Menu
- Title Bar
- Yearly Statistics
- Description
- Guide
- Zooming
- ToolTip
- Binding Options - Views
- Map
- Line
- Chart
- Days
- Months
- Color Ranges
Days
Explore this complete list of Heat.js binding options to easily set up, customize, and update your settings for the 'days' view on the fly.
Example
$heat.updateBindingOptions( "heat-map", {
"views"": {
"days": {
"enabled": true
}
}
} );Options
| Type: | Name: | Description: |
|---|---|---|
| boolean | enabled | States if this view is enabled (defaults to true). |
| boolean | showChartYLabels | States if the chart Y axis labels should be shown (defaults to true). |
| boolean | showDayNames | States if the day names are shown (defaults to true). |
| number[] | monthsToShow | States the months that should be shown (defaults to [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]). |
| number[] | daysToShow | States the days that should be shown (defaults to [1, 2, 3, 4, 5, 6, 7]). |
| boolean | showDayCounts | States if the day counts should be shown in the lines (defaults to false). |
| boolean | showInReverseOrder | States if the days should be shown in reverse order (defaults to false). |
| boolean | keepScrollPositions | States if the scroll positions should be maintained when the view is redrawn (or moving year to year, defaults to false). |
| boolean | showToolTips | States if the tooltips should be shown (defaults to true). |
| boolean | useGradients | States if the bar lines should use a gradient fill (defaults to false). |
| boolean | useDifferentOpacities | States if the color opacities for each day should be different (defaults to false). |
| boolean | showDayCountPercentages | States if the count percentages should be shown (when count displays are enabled, defaults to true). |
| boolean | showStackedColorRanges | States if the bar should show the stacked color range levels (defaults to true). |
| string | dayToolTipText | States the tooltip format to use for a day item (defaults to "{dddd} {yyyy}"). |