AnyChart-Android icon indicating copy to clipboard operation
AnyChart-Android copied to clipboard

How can i get the count that how many row x axis have currently?

Open M1178475702 opened this issue 5 years ago • 2 comments

I find the method like image or image but they all return void! well, how can i get the results they return? Any help will be appreciate!

M1178475702 avatar Dec 21 '19 11:12 M1178475702

And, can i use format function in android? i just find the method that use the text formater.

M1178475702 avatar Dec 21 '19 12:12 M1178475702

@M1178475702 The Android library includes all methods and functions of the original library to provide a legacy, unfortunately, not all of them are implemented. Such methods will be implemented in the future updates.

Yes, you can text formatters! For example, like this:

series.tooltip().format("x: {%x}\\nPredicted High: {%high}\\nPredicted Low: {%low}\\nTime period: {%period} mins\\nTemp: {%temp}°");

You can learn much more about text formatters in the article.

Shestac92 avatar Jan 09 '20 02:01 Shestac92