diogobernardino / williamchart

Android Library to rapidly develop attractive and insightful charts in android applications.
5.1k stars 800 forks source link

HorizontalBarChartView not show full if value too big #197

Closed mdtuyen closed 7 years ago

mdtuyen commented 7 years ago

Here is my setting:

        hBarChart.setBarSpacing(Tools.fromDpToPx(2));
        hBarChart.setBorderSpacing(0)
                .setStep(1)
                .setTooltips(tip)
                .setXAxis(true)
                .setYAxis(true)
                .setLabelsColor(Color.parseColor("#FF8E8A84"))
                .setXLabels(XRenderer.LabelPosition.NONE);

If value > 14 some part of Chart miss in my device.

And, How do I mke it scroll in horizontal

diogobernardino commented 7 years ago

Seems the same as #45.

tata8k commented 7 years ago

The simplest but not smart way to solve this problem is to change ChartView width dynamically.

diogobernardino commented 7 years ago

@UsherBaby Interesting, I need to check that.