Added tabbed interface for mutliple LCPDataGrid.js components
This commit is contained in:
@ -39,6 +39,84 @@
|
||||
"type": "number",
|
||||
"default": 1
|
||||
},
|
||||
"datasets": {
|
||||
"type": "array",
|
||||
"default": [
|
||||
{
|
||||
"name": "Data",
|
||||
"data": [
|
||||
{
|
||||
"Department": "Sheriffs Office",
|
||||
"Budget": "150",
|
||||
"MeetAt": "12/12/2025",
|
||||
"PreferredColor": "#e0e0e0",
|
||||
"PostContent": "<div> </div>"
|
||||
},
|
||||
{
|
||||
"Department": "Assessor",
|
||||
"Budget": "100",
|
||||
"MeetAt": "12/12/2025",
|
||||
"PreferredColor": "#e0e0e0",
|
||||
"PostContent": "<div> </div>"
|
||||
},
|
||||
{
|
||||
"Department": "Treasurer",
|
||||
"Budget": "50",
|
||||
"MeetAt": "12/12/2025",
|
||||
"PreferredColor": "#e0e0e0",
|
||||
"PostContent": "<div> </div>"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Locations",
|
||||
"data": [
|
||||
{
|
||||
"State": "California",
|
||||
"Coordinates": "150,000",
|
||||
"MeetAt": "12/12/2025",
|
||||
"PreferredColor": "#e0e0e0",
|
||||
"PostContent": "<div> </div>"
|
||||
},
|
||||
{
|
||||
"State": "Texas",
|
||||
"Coordinates": "100,000",
|
||||
"MeetAt": "12/12/2025",
|
||||
"PreferredColor": "#e0e0e0",
|
||||
"PostContent": "<div> </div>"
|
||||
},
|
||||
{
|
||||
"State": "Florida",
|
||||
"Coordinates": "50,000",
|
||||
"MeetAt": "12/12/2025",
|
||||
"PreferredColor": "#e0e0e0",
|
||||
"PostContent": "<div> </div>"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Dataset 3",
|
||||
"data": [
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"chartData": {
|
||||
"type": "array",
|
||||
"default": [
|
||||
|
||||
Reference in New Issue
Block a user