PromucFlow_constructor/app/client/cypress/fixtures/widgetSelection.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

209 lines
5.7 KiB
JSON

{
"dsl": {
"widgetName": "MainContainer",
"backgroundColor": "none",
"rightColumn": 1270,
"snapColumns": 64,
"detachFromLayout": true,
"widgetId": "0",
"topRow": 0,
"bottomRow": 820,
"containerStyle": "none",
"snapRows": 125,
"parentRowSpace": 1,
"type": "CANVAS_WIDGET",
"canExtend": true,
"version": 23,
"minHeight": 830,
"parentColumnSpace": 1,
"dynamicTriggerPathList": [],
"dynamicBindingPathList": [],
"leftColumn": 0,
"children": [
{
"widgetName": "Chart1",
"rightColumn": 26,
"allowScroll": false,
"widgetId": "ypstklohw5",
"topRow": 4,
"bottomRow": 36,
"parentRowSpace": 10,
"isVisible": true,
"type": "CHART_WIDGET",
"version": 1,
"parentId": "0",
"isLoading": false,
"chartData": {
"3jzahcrorq": {
"seriesName": "Sales",
"data": [
{
"x": "Mon",
"y": 10000
},
{
"x": "Tue",
"y": 12000
},
{
"x": "Wed",
"y": 32000
},
{
"x": "Thu",
"y": 28000
},
{
"x": "Fri",
"y": 14000
},
{
"x": "Sat",
"y": 19000
},
{
"x": "Sun",
"y": 36000
}
]
}
},
"yAxisName": "Total Order Revenue $",
"parentColumnSpace": 19.65625,
"chartName": "Last week's revenue",
"leftColumn": 2,
"xAxisName": "Last Week",
"customFusionChartConfig": {
"type": "column2d",
"dataSource": {
"chart": {
"caption": "Last week's revenue",
"xAxisName": "Last Week",
"yAxisName": "Total Order Revenue $",
"theme": "fusion"
},
"data": [
{
"label": "Mon",
"value": 10000
},
{
"label": "Tue",
"value": 12000
},
{
"label": "Wed",
"value": 32000
},
{
"label": "Thu",
"value": 28000
},
{
"label": "Fri",
"value": 14000
},
{
"label": "Sat",
"value": 19000
},
{
"label": "Sun",
"value": 36000
}
],
"trendlines": [
{
"line": [
{
"startvalue": "38000",
"valueOnRight": "1",
"displayvalue": "Weekly Target"
}
]
}
]
}
},
"chartType": "LINE_CHART"
},
{
"backgroundColor": "#FFFFFF",
"widgetName": "Container1",
"rightColumn": 62,
"widgetId": "6y21iarlp4",
"containerStyle": "card",
"topRow": 11,
"bottomRow": 51,
"parentRowSpace": 10,
"isVisible": true,
"type": "CONTAINER_WIDGET",
"version": 1,
"parentId": "0",
"isLoading": false,
"parentColumnSpace": 19.65625,
"leftColumn": 30,
"children": [
{
"widgetName": "Canvas1",
"rightColumn": 629,
"detachFromLayout": true,
"widgetId": "jqasr1uss5",
"containerStyle": "none",
"topRow": 0,
"bottomRow": 400,
"parentRowSpace": 1,
"isVisible": true,
"canExtend": false,
"type": "CANVAS_WIDGET",
"version": 1,
"parentId": "6y21iarlp4",
"minHeight": 400,
"isLoading": false,
"parentColumnSpace": 1,
"leftColumn": 0,
"children": []
}
]
},
{
"image": "",
"widgetName": "Image1",
"rightColumn": 22,
"widgetId": "1t50avy6f1",
"topRow": 58,
"bottomRow": 70,
"parentRowSpace": 10,
"isVisible": true,
"type": "IMAGE_WIDGET",
"version": 1,
"parentId": "0",
"isLoading": false,
"maxZoomLevel": 1,
"parentColumnSpace": 19.65625,
"imageShape": "RECTANGLE",
"leftColumn": 6,
"defaultImage": "https://res.cloudinary.com/drako999/image/upload/v1589196259/default.png"
},
{
"widgetName": "Button1",
"rightColumn": 18,
"isDefaultClickDisabled": true,
"widgetId": "41wgbhd5vp",
"buttonStyle": "PRIMARY_BUTTON",
"topRow": 44,
"bottomRow": 48,
"parentRowSpace": 10,
"isVisible": true,
"type": "BUTTON_WIDGET",
"version": 1,
"parentId": "0",
"isLoading": false,
"parentColumnSpace": 19.65625,
"leftColumn": 10,
"text": "Submit",
"isDisabled": false
}
]
}
}