'Can i use limit lines as a grid lines in MPAndroidChart?

i like to customized grid lines of xAsis in MPAndroidChart. But did not find any thing

I tried with limit lines. I am able to achieve that with some code

 for (float i = axisMin; i < axisMax * 4; i++) {
        if (value % 1 != 0) {
            LimitLine limitLine = new LimitLine(value);

            limitLine.enableDashedLine(5f, 5f, 0f);
            limitLine.setLineColor(ContextCompat.getColor(
                    this,
                    R.color.weight_chart_limit_line
            ));
            xAxis.addLimitLine(limitLine);

        }
        value = value + 0.25f;

    }

But getting a warring every time E/MPAndroiChart: Warning! You have more than 6 LimitLines on your axis, do you really want that?

Does it really effect the code.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source