Show Nav

Create JavaScript Rules to Style Your Chart

Overview

Rules allow you to include logic in order to change or modify the appearance of your chart based on specified criteria or "rules".

Within rules, you can use logical operators ||, && and != along with comparison operators ==, >, <, >= and <=.

You can also use arithmetic operators within rules: +, -, *, / and %.