![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 2 of 2 total |
![]() |
Fri, Jan 27 2017 12:27 PM | Permanent Link |
Matthew Jones | If you go to http://jsfiddle.net/gh/get/jquery/3.1.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/line-basic/ you can see a call to create a graph. The JSON there has things like the series which is an array of unnamed objects. How can I make an EWB object that will match that?
I can make this work in EWB as an item in a panel, using JSON.Parse to get the required object from this sample, but now I want to be able to configure it using normal EWB code. -- Matthew Jones |
Mon, Jan 30 2017 9:44 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. ![]() | Matthew,
<< If you go to http://jsfiddle.net/gh/get/jquery/3.1.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/line-basic/ you can see a call to create a graph. The JSON there has things like the series which is an array of unnamed objects. How can I make an EWB object that will match that? >> You can declare such an array like this: array of Variant However, be aware that EWB has no facilities for querying the type, etc. of the variant. Variants were added to the compiler simply to facilitate some of the RTTI property manipulation that occurs during persistent object loading/saving at run-time. Tim Young Elevate Software www.elevatesoft.com |
This web page was last updated on Tuesday, February 11, 2025 at 11:58 AM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |