Multiple Scales Per Chart

The following demonstrates how you can assign multiple scales to a chart. This is a common tactic in data visualization where the intent is to visually reference two distinct data series that have different scales within the same chart.


CSS Code

#multi_scale .y.axis, #multi_scale .lineSeries path {
    fill: none;
    stroke: #cc0000;
    stroke-width: 1px;
}

#multi_scale .z.axis {
    fill: none;
    stroke: #002960;
    stroke-width: 1px;
}
JavaScript Code