- 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 Options
- Text Options
- Binding Options
- Basic Options
- Side Menu
- Title Bar
- Yearly Statistics
- Description
- Guide
- Zooming
- ToolTip
- Holiday
- Dynamic Color Range
- Color Range
- Date Formatting
- Custom Triggers
Color Range
Explore this complete list of basic Heat.js binding options to easily set up, customize, and update your color range settings on the fly.
Example
$heat.updateBindingOptions( "heat-map", {
colorRanges: [ {
enabled: true
} ]
} );Options
| Type: | Name: | Description: |
|---|---|---|
| string | id | The unique identifier for this item. |
| string | name | The unique name for this item (optional). |
| number | minimum | The minimum count the date has reached before showing this items CSS class. |
| string | cssClassName | The CSS class name to apply to the day when the minimum value is met. |
| string | mapCssClassName | The override CSS class name to apply to the item in the "map" view when the minimum value is met (optional). |
| string | lineCssClassName | The override CSS class name to apply to the item in the "line" view when the minimum value is met (optional). |
| string | chartCssClassName | The override CSS class name to apply to the item in the "chart" view when the minimum value is met (optional). |
| string | daysCssClassName | The override CSS class name to apply to the item in the "days" view when the minimum value is met (optional). |
| string | monthsCssClassName | The override CSS class name to apply to the item in the "months" view when the minimum value is met (optional). |
| string | colorRangeCssClassName | The override CSS class name to apply to the item in the "color ranges" view when the minimum value is met (optional). |
| string | tooltipText | The tooltip text that should be shown for the item in the guide. |
| boolean | visible | States if the item should be shown in the views (defaults to true). |