- 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
Yearly Statistics
Explore this complete list of Heat.js binding options to easily set up, customize, and update your yearly statistics settings on the fly.
Example
$heat.updateBindingOptions( "heat-map", {
"yearlyStatistics": {
"enabled": true
}
} );Options
| Type: | Name: | Description: |
|---|---|---|
| boolean | enabled | States if the yearly statistics should be shown (defaults to false). |
| boolean | showToday | States if the "Today" box should be shown in the yearly statistics (defaults to true). |
| boolean | showThisWeek | States if the "This Week" box should be shown in the yearly statistics (defaults to true). |
| boolean | showThisMonth | States if the "This Month" box should be shown in the yearly statistics (defaults to true). |
| boolean | showThisYear | States if the "This Year" box should be shown in the yearly statistics (defaults to true). |
| boolean | showOnlyForCurrentYear | States if the yearly statistics should only be shown for the current year (defaults to false). |
| boolean | showPercentages | States if the yearly statistics should show the value percentages (defaults to true). |