Refactored LCPDataGrid
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
"version": "1.0.0",
|
||||
"title": "Line Graph",
|
||||
"category": "widgets",
|
||||
"icon": "chart-bar",
|
||||
"icon": "chart-line",
|
||||
"description": "Display data as a line graph using D3.js",
|
||||
"supports": {
|
||||
"html": false
|
||||
@ -48,24 +48,7 @@
|
||||
},
|
||||
"chartData": {
|
||||
"type": "array",
|
||||
"default": [
|
||||
{
|
||||
"ID": "lcpDatapoint-1",
|
||||
"Label": "Sample 1",
|
||||
"Value": 100,
|
||||
"Color": "#007cba",
|
||||
"Content": "<p>First item</p>",
|
||||
"Parent": ""
|
||||
},
|
||||
{
|
||||
"ID": "lcpDatapoint-2",
|
||||
"Label": "Sample 2",
|
||||
"Value": 50,
|
||||
"Color": "#ff0000",
|
||||
"Content": "<p>Second item</p>",
|
||||
"Parent": "lcpDatapoint-1"
|
||||
}
|
||||
]
|
||||
"default": []
|
||||
},
|
||||
"chartHeight": {
|
||||
"type": "string",
|
||||
@ -93,15 +76,15 @@
|
||||
},
|
||||
"colorColumn": {
|
||||
"type": "string",
|
||||
"default": "Color"
|
||||
"default": "color"
|
||||
},
|
||||
"popoverColumn": {
|
||||
"type": "string",
|
||||
"default": "Content"
|
||||
"default": "content"
|
||||
},
|
||||
"renderLegend": {
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
"default": false
|
||||
},
|
||||
"legendFontSize": {
|
||||
"type": "string",
|
||||
@ -157,7 +140,7 @@
|
||||
},
|
||||
"toolbarLocation": {
|
||||
"type": "string",
|
||||
"default": "bottom"
|
||||
"default": "top"
|
||||
},
|
||||
"toolbarAlignment": {
|
||||
"type": "string",
|
||||
|
||||
@ -1 +1 @@
|
||||
<?php return array('dependencies' => array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '7d02545764a85b66ef48');
|
||||
<?php return array('dependencies' => array('react', 'react-dom', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => '10f66260923a977161c2');
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user