PromucFlow_constructor/app/client/cypress/fixtures/chartUpdatedDsl.json
Rafael Baldasso Audibert 0e22f26621
fix: Change "Allow Horizontal Scroll" text to "Allow scroll" (#8085)
* chore: Change "Allow Horizontal Scroll" to "Allow Scroll"

* chore: Hide option to choose scroll for pie chart

* fix: Fix prettier errors

* feat: Add migration to allowScroll for `CHART_WIDGET`s

Closes #4227

* fix: Fix chart widget prop recursively

Per https://github.com/appsmithorg/appsmith/pull/8085#discussion_r733442011
Closes #4227
2021-10-25 17:09:39 +05:30

184 lines
7.1 KiB
JSON

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 966,
"snapColumns": 64,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 5168,
"containerStyle": "none",
"snapRows": 129,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 20,
"minHeight": 450,
"parentColumnSpace": 1,
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"backgroundColor": "#FFFFFF",
"widgetName": "Container1",
"rightColumn": 32,
"orientation": "VERTICAL",
"snapColumns": 16,
"widgetId": "mxbaasg65u",
"containerStyle": "card",
"topRow": 0,
"bottomRow": 36,
"parentRowSpace": 38,
"isVisible": true,
"type": "CONTAINER_WIDGET",
"version": 1,
"isLoading": false,
"parentColumnSpace": 75.25,
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"backgroundColor": "transparent",
"widgetName": "59gdivzv7s",
"rightColumn": 2408,
"orientation": "VERTICAL",
"snapColumns": 16,
"detachFromLayout": true,
"widgetId": "bxekwxgc1i",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 20,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"dynamicBindingPathList": [],
"children": []
}
]
},
{
"backgroundColor": "#FFFFFF",
"widgetName": "Container3",
"rightColumn": 64,
"orientation": "VERTICAL",
"snapColumns": 16,
"widgetId": "i331vll2mg",
"containerStyle": "card",
"topRow": 36,
"bottomRow": 92,
"parentRowSpace": 38,
"isVisible": true,
"type": "CONTAINER_WIDGET",
"version": 1,
"isLoading": false,
"parentColumnSpace": 75.25,
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"backgroundColor": "transparent",
"widgetName": "rhfg2vf1n5",
"rightColumn": 4816,
"orientation": "VERTICAL",
"snapColumns": 16,
"detachFromLayout": true,
"widgetId": "rglduihhzk",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 20,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"dynamicBindingPathList": [],
"children": [
{
"isVisible": true,
"widgetName": "Chart1",
"chartType": "LINE_CHART",
"chartName": "Last week's revenue",
"allowScroll": false,
"version": 1,
"chartData": {
"q4pm3w97mo": {
"seriesName": "Sales",
"data": ""
}
},
"xAxisName": "Last Week",
"yAxisName": "Total Order Revenue $",
"type": "CHART_WIDGET",
"isLoading": false,
"parentColumnSpace": 14.59375,
"parentRowSpace": 10,
"leftColumn": 20,
"rightColumn": 44,
"topRow": 16,
"bottomRow": 48,
"parentId": "rglduihhzk",
"widgetId": "snzfh3qjo8",
"dynamicBindingPathList": [],
"dynamicTriggerPathList": []
}
]
}
]
},
{
"backgroundColor": "#FFFFFF",
"widgetName": "Container4",
"rightColumn": 64,
"orientation": "VERTICAL",
"snapColumns": 16,
"widgetId": "qznzsquf70",
"containerStyle": "card",
"topRow": 0,
"bottomRow": 36,
"parentRowSpace": 38,
"isVisible": true,
"type": "CONTAINER_WIDGET",
"version": 1,
"isLoading": false,
"parentColumnSpace": 75.25,
"dynamicBindingPathList": [],
"leftColumn": 32,
"children": [
{
"backgroundColor": "transparent",
"widgetName": "3bn6uv0vy4",
"rightColumn": 2408,
"orientation": "VERTICAL",
"snapColumns": 16,
"detachFromLayout": true,
"widgetId": "7vm5mdu8ey",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 1368,
"parentRowSpace": 1,
"isVisible": true,
"type": "CANVAS_WIDGET",
"canExtend": false,
"version": 1,
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"dynamicBindingPathList": [],
"children": [
null
]
}
]
}
]
}
}