Commit 9062b962 authored by Evgeny's avatar Evgeny

Change tick behavior. Now more ticks are shown with smaller chart width. Fixes CHRT-207

parent c1317aa3
......@@ -7968,9 +7968,9 @@
var widthLimits = [
// Left is width, right is number of tick labels to be removed
[-Infinity],
[320, 10],
[400, 5],
[475, 2],
[100, 10],
[200, 5],
[300, 2],
[Infinity, 1]
];
var divisor;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -38,9 +38,9 @@ function c3_axis(d3, params, $$) {
var widthLimits = [
// Left is width, right is number of tick labels to be removed
[-Infinity],
[320, 10],
[400, 5],
[475, 2],
[100, 10],
[200, 5],
[300, 2],
[Infinity, 1]
];
var divisor;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment