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.31k stars 369 forks source link

Getting started uses methods that do not exist #38

Open zlotny opened 6 years ago

zlotny commented 6 years ago

Hi there! I'm a new user of AnyChart, so logically I stared with... the Getting Started.

The method Pie::setData() does not exist. It appears to be Pie::data(), which I had to guess because there isn't any javadoc:

image

Am I missing something or is it just that the method signature changed over versions? Sorry about the bitter issue but I think these things are pretty relevant to get users working with your package.

Shestac92 commented 6 years ago

@zlotny Thank you for your report! We have just fixed the typo in the article. Now it's ok.

wapmorgan commented 6 years ago

@Shestac92 setData() problem is on screenshot and in code before it without data() call at all: Add Java code to the Activity. For example, if you want to create pie chart: https://www.anychart.com/ru/technical-integrations/samples/android-charts/ image

Shestac92 commented 6 years ago

@wapmorgan Thank you for pointing us to the mistake in the article! We will correct the article shortly.