When you install the AnyChart widget, it will come with an App Store module called "AnyChart_BuildingBlocks". These building blocks have pre-configured JSON samples for many different types of charts.
Additionally, here's a cool page where you can play with lots of different chart options via their JSON config: https://plotly-json-editor.getforge.io/
Thanks Eric.
One more question, can we parametize some the configs, such for the x axis range can we pass a parameter?
From the doc,
Generating data and layout
Data
attribute to the Chart entitySource attribute
field in the Data
tabJSON Structure
and use the Sample data
as the snippetExport Mapping
with the JSON Structure
Export Mapping
to generate a String Variable
. Store the value in the object attribute that is select as Source attribute
If need be, the layout can also be generated in the same way as the data. In most cases a Static
layout will suffice.
So i can do the same for 'Static' and 'Layout', just add a 'Static' and 'Layout' attribute on the 'Chart' entity?
Not sure if this is a bug,
{
"name": "Test",
"type": "bar",
"width": "500000"
}
If i have only one data point, the bar is still default, if i have more than one data points it uses the width i set here.