Commit 19db15d9 authored by Evgeny's avatar Evgeny

Better comment for 'shouldDrawTickText'

parent 586b5607
......@@ -8094,7 +8094,8 @@
}
function shouldDrawTickText(id){
var heightLimits = [
// Left is width, right is number of tick labels to be removed
// Left is width, right is n
// Every nth tick will be shown
[-Infinity],
[100, 6],
[150, 4],
......@@ -8102,7 +8103,8 @@
[Infinity, 1]
];
var widthLimits = [
// Left is width, right is number of tick labels to be removed
// Left is width, right is n
// Every nth tick will be show
[-Infinity],
[100, 6],
[200, 4],
......
......@@ -28,7 +28,8 @@ function c3_axis(d3, params, $$) {
}
function shouldDrawTickText(id){
var heightLimits = [
// Left is width, right is number of tick labels to be removed
// Left is width, right is n
// Every nth tick will be shown
[-Infinity],
[100, 6],
[150, 4],
......@@ -36,7 +37,8 @@ function c3_axis(d3, params, $$) {
[Infinity, 1]
];
var widthLimits = [
// Left is width, right is number of tick labels to be removed
// Left is width, right is n
// Every nth tick will be show
[-Infinity],
[100, 6],
[200, 4],
......
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