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",
|
||||
|
||||
Reference in New Issue
Block a user