AnyChart / AnyChart-Android

AnyChart Android Chart is an amazing data visualization library for easily creating interactive charts in Android apps. It runs on API 19+ (Android 4.4) and features dozens of built-in chart types.
2.32k stars 369 forks source link

Clone the project and run, but it show empty of all chars #223

Open parcool opened 3 years ago

parcool commented 3 years ago

I just clone the project and run, what did I wrong?

https://user-images.githubusercontent.com/12092478/124549666-11b26f80-de62-11eb-90b3-8de402cc485f.mp4

parthitechnotion commented 3 years ago

Same issue I am also facing. Please provide solution as I have already used this in our project

Shestac92 commented 3 years ago

@parcool @parthitechnotion Please, check the Quick Start guide, it describes how to launch the framework in your projects.

vasiledoe commented 3 years ago

@Shestac92 nope, I got same empty result following the Quick Start guide. Running Android 11, and v1.1.4 implementation 'com.github.AnyChart:AnyChart-Android:1.1.4'

Sicness commented 3 years ago

I have the same problem with the latest Android Studio. Just cloned the project and run the sample module from there. The sample In the repo doesn't work. API29.

Sicness commented 3 years ago

The same If I follow the Getting started guide for my own project. Empty view charts with text AnyChart Trial Version. Wasted time...

Sicness commented 3 years ago

BTW, 'com.github.AnyChart:AnyChart-Android:1.1.2' works fine!

pinefirst commented 1 year ago

I just cloned and build but empty. My sdk compile verion is 31. Please help me...

viniciushrk commented 1 year ago

Verify if code append data in AnyChart.pie(); example:

            Pie pie = AnyChart.pie();
            List<DataEntry> data = new ArrayList<>();
            data.add(new ValueDataEntry("John", 10000));
            data.add(new ValueDataEntry("Jake", 12000));
            data.add(new ValueDataEntry("Peter", 18000));
            pie.data(data);
            AnyChartView anyChartView = (AnyChartView) findViewById(R.id.graph);
            anyChartView.setChart(pie);