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 @@ ...@@ -7968,9 +7968,9 @@
var widthLimits = [ var widthLimits = [
// Left is width, right is number of tick labels to be removed // Left is width, right is number of tick labels to be removed
[-Infinity], [-Infinity],
[320, 10], [100, 10],
[400, 5], [200, 5],
[475, 2], [300, 2],
[Infinity, 1] [Infinity, 1]
]; ];
var divisor; 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, $$) { ...@@ -38,9 +38,9 @@ function c3_axis(d3, params, $$) {
var widthLimits = [ var widthLimits = [
// Left is width, right is number of tick labels to be removed // Left is width, right is number of tick labels to be removed
[-Infinity], [-Infinity],
[320, 10], [100, 10],
[400, 5], [200, 5],
[475, 2], [300, 2],
[Infinity, 1] [Infinity, 1]
]; ];
var divisor; 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