This example shows a way to show target lines in a bar chart, by use of its second plot, of type point.
In the second plot, the dot's shape is changed to bar, and then it is rotated, making it look like target lines.
| function bar() {} |
This example shows a way to show target lines in a bar chart, by use of its second plot, of type point.
In the second plot, the dot's shape is changed to bar, and then it is rotated, making it look like target lines.
| /** | |
| * The first commented line is your dabblet’s title | |
| */ | |
| background: #f06; | |
| background: linear-gradient(45deg, #f06, yellow); | |
| min-height: 100%; |
| // custom JS function serialization/deserialization | |
| // custom date, iso format | |
| // special numbers: +/- Infinity | |
| // undefined value | |
| // --- | |
| // A way to pass more data types through JSON. | |
| // A way to be able to use JSONObject in Java. | |
| // A way of de-serializing without additional metadata. | |
| // A way that can be used with JSON.stringify and JSON.parse. | |
| ({ |
| license: gpl-3.0 | |
| height: 1060 |