简体   繁体   中英

Anychart Standalone Legend Load From JSON

We create our chart with Json using the anychart.fromJson method. So we have methods to build the Json and that's also the way we make our chart legends. Now in certain situations we need these legends as standalone legends. For example when we need two or more legends in a chart.

Is it possible to create standalone legends from Json? Otherwise we have to duplicate our code completely and create them all again using the anychart functions, which would be very cumbersome.

Many greetings.

Unfortunately, the current version of the library 8.7.1 doesn't support creating standalone instances from JSON configuration. It can be created only using the JS API.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM