产品一张表luckysheet前端代码库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

790 lines
18 KiB

const sheetSparkline = {
"name": "Sparkline",
"color": "",
"config": {
"merge": {
"1_2": {
"r": 1,
"c": 2,
"rs": 1,
"cs": 2
},
"1_4": {
"r": 1,
"c": 4,
"rs": 1,
"cs": 2
},
"0_0": {
"r": 0,
"c": 0,
"rs": 1,
"cs": 6
},
"2_2": {
"r": 2,
"c": 2,
"rs": 3,
"cs": 2
},
"2_4": {
"r": 2,
"c": 4,
"rs": 3,
"cs": 2
}
},
"rowlen": {
"0": 25
},
"columlen": {
"0": 101
}
},
"index": 4,
"chart": [
{
"sheetIndex": "0",
"dataSheetIndex": "0",
"chartType": "column",
"row": "[1,3]",
"column": "[3,3]",
"chartStyle": "default",
"myWidth": "480",
"myHeight": "288",
"myLeft": "67",
"myTop": "11"
}
],
"status": "0",
"order": 4,
"column": 18,
"row": 36,
"celldata": [
{
"r": 0,
"c": 0,
"v": {
"v": "The company revenue in 2014",
"ct": {
"fa": "General",
"t": "g"
},
"m": "The company revenue in 2014",
"mc": {
"r": 0,
"c": 0,
"rs": 1,
"cs": 6
},
"fs": "14",
"ht": "0",
"vt": "0"
}
},
{
"r": 0,
"c": 1,
"v": {
"mc": {
"r": 0,
"c": 0
},
"fs": "14",
"ht": "0",
"vt": "0"
}
},
{
"r": 0,
"c": 2,
"v": {
"mc": {
"r": 0,
"c": 0
},
"fs": "14",
"ht": "0",
"vt": "0"
}
},
{
"r": 0,
"c": 3,
"v": {
"mc": {
"r": 0,
"c": 0
},
"fs": "14",
"ht": "0",
"vt": "0"
}
},
{
"r": 0,
"c": 4,
"v": {
"mc": {
"r": 0,
"c": 0
},
"fs": "14",
"ht": "0",
"vt": "0"
}
},
{
"r": 0,
"c": 5,
"v": {
"mc": {
"r": 0,
"c": 0
},
"fs": "14",
"ht": "0",
"vt": "0"
}
},
{
"r": 1,
"c": 0,
"v": {
"m": "Month",
"ct": {
"fa": "General",
"t": "g"
},
"v": "Month",
"bg": "#f1c232",
"fc": "#ffffff",
"ht": "0",
"vt": "0"
}
},
{
"r": 1,
"c": 1,
"v": {
"m": "Revenue",
"ct": {
"fa": "General",
"t": "g"
},
"v": "Revenue",
"bg": "#f1c232",
"fc": "#ffffff",
"ht": "0",
"vt": "0"
}
},
{
"r": 1,
"c": 2,
"v": {
"m": "Diagram 1",
"ct": {
"fa": "General",
"t": "g"
},
"v": "Diagram 1",
"mc": {
"r": 1,
"c": 2,
"rs": 1,
"cs": 2
},
"bg": "#f1c232",
"fc": "#ffffff",
"ht": "0",
"vt": "0"
}
},
{
"r": 1,
"c": 3,
"v": {
"mc": {
"r": 1,
"c": 2
},
"bg": "#f1c232",
"fc": "#ffffff",
"ht": "0",
"vt": "0"
}
},
{
"r": 1,
"c": 4,
"v": {
"m": "Diagram 2",
"ct": {
"fa": "General",
"t": "g"
},
"v": "Diagram 2",
"mc": {
"r": 1,
"c": 4,
"rs": 1,
"cs": 2
},
"bg": "#f1c232",
"fc": "#ffffff",
"ht": "0",
"vt": "0"
}
},
{
"r": 1,
"c": 5,
"v": {
"mc": {
"r": 1,
"c": 4
},
"bg": "#f1c232",
"fc": "#ffffff",
"ht": "0",
"vt": "0"
}
},
{
"r": 2,
"c": 0,
"v": {
"m": "2014-02-01",
"ct": {
"fa": "yyyy-MM-dd",
"t": "d"
},
"v": 41671
}
},
{
"r": 2,
"c": 1,
"v": {
"v": 30,
"ct": {
"fa": "General",
"t": "n"
},
"m": "30",
"ht": "0",
"vt": "0"
}
},
{
"r": 2,
"c": 2,
"v": {
"mc": {
"r": 2,
"c": 2,
"rs": 3,
"cs": 2
},
"f": "=LINESPLINES(B3:B5,'pink',4,'avg','yellow','red','green',3)",
"spl": {
"shapes": {
"0": {
"id": 0,
"type": "Shape",
"args": [
0,
[
[
0,
20
],
[
0,
20
],
[
72,
51
],
[
144,
3
]
],
"pink",
null,
4
]
},
"1": {
"id": 1,
"type": "Rect",
"args": [
1,
0,
null,
144,
null,
null,
"yellow"
]
},
"2": {
"id": 2,
"type": "Circle",
"args": [
2,
72,
51,
3,
null,
"green",
null
]
},
"3": {
"id": 3,
"type": "Circle",
"args": [
3,
144,
3,
3,
null,
"red",
null
]
}
},
"shapeseq": [
0,
1,
2,
3
],
"offsetX": 0,
"offsetY": 5,
"pixelWidth": 147,
"pixelHeight": 55
}
}
},
{
"r": 2,
"c": 3,
"v": {
"mc": {
"r": 2,
"c": 2
}
}
},
{
"r": 2,
"c": 4,
"v": {
"mc": {
"r": 2,
"c": 4,
"rs": 3,
"cs": 2
},
"f": "=COLUMNSPLINES(B3:B5,35,'red','green','auto','brown')",
"spl": {
"shapes": {
"0": {
"id": 0,
"type": "Rect",
"args": [
0,
98,
1,
13,
28,
"red",
"red"
]
},
"1": {
"id": 1,
"type": "Rect",
"args": [
1,
49,
30,
13,
20,
"green",
"green"
]
},
"2": {
"id": 2,
"type": "Rect",
"args": [
2,
0,
20,
13,
9,
"brown",
"brown"
]
}
},
"shapeseq": [
0,
1,
2
],
"offsetX": 0,
"offsetY": 0,
"pixelWidth": 147,
"pixelHeight": 60
}
}
},
{
"r": 2,
"c": 5,
"v": {
"mc": {
"r": 2,
"c": 4
}
}
},
{
"r": 3,
"c": 0,
"v": {
"m": "2014-03-01",
"ct": {
"fa": "yyyy-MM-dd",
"t": "d"
},
"v": 41699
}
},
{
"r": 3,
"c": 1,
"v": {
"v": -60,
"ct": {
"fa": "General",
"t": "n"
},
"m": "-60",
"ht": "0",
"vt": "0"
}
},
{
"r": 3,
"c": 2,
"v": {
"mc": {
"r": 2,
"c": 2
}
}
},
{
"r": 3,
"c": 3,
"v": {
"mc": {
"r": 2,
"c": 2
}
}
},
{
"r": 3,
"c": 4,
"v": {
"mc": {
"r": 2,
"c": 4
}
}
},
{
"r": 3,
"c": 5,
"v": {
"mc": {
"r": 2,
"c": 4
}
}
},
{
"r": 4,
"c": 0,
"v": {
"m": "2014-04-01",
"ct": {
"fa": "yyyy-MM-dd",
"t": "d"
},
"v": 41730
}
},
{
"r": 4,
"c": 1,
"v": {
"v": 80,
"ct": {
"fa": "General",
"t": "n"
},
"m": "80",
"ht": "0",
"vt": "0"
}
},
{
"r": 4,
"c": 2,
"v": {
"mc": {
"r": 2,
"c": 2
}
}
},
{
"r": 4,
"c": 3,
"v": {
"mc": {
"r": 2,
"c": 2
}
}
},
{
"r": 4,
"c": 4,
"v": {
"mc": {
"r": 2,
"c": 4
}
}
},
{
"r": 4,
"c": 5,
"v": {
"mc": {
"r": 2,
"c": 4
}
}
}
],
"visibledatarow": [
26,
46,
66,
86,
106,
126,
146,
166,
186,
206,
226,
246,
266,
286,
306,
326,
346,
366,
386,
406,
426,
446,
466,
486,
506,
526,
546,
566,
586,
606,
626,
646,
666,
686,
706,
726,
746,
766,
786,
806,
826,
846,
866,
886,
906,
926,
946,
966,
986,
1006,
1026,
1046,
1066,
1086,
1106,
1126,
1146,
1166,
1186,
1206,
1226,
1246,
1266,
1286,
1306,
1326,
1346,
1366,
1386,
1406,
1426,
1446,
1466,
1486,
1506,
1526,
1546,
1566,
1586,
1606,
1626,
1646,
1666,
1686
],
"visibledatacolumn": [
102,
176,
250,
324,
398,
472,
546,
620,
694,
768,
842,
916,
990,
1064,
1138,
1212,
1286,
1360,
1434,
1508,
1582,
1656,
1730,
1804,
1878,
1952,
2026,
2100,
2174,
2248,
2322,
2396,
2470,
2544,
2618,
2692,
2766,
2840,
2914,
2988,
3062,
3136,
3210,
3284,
3358,
3432,
3506,
3580,
3654,
3728,
3802,
3876,
3950,
4024,
4098,
4172,
4246,
4320,
4394,
4468
],
"rowsplit": [],
"ch_width": 4748,
"rh_height": 1790,
"luckysheet_select_save": [
{
"row": [
0,
0
],
"column": [
0,
0
]
}
],
"luckysheet_selection_range": [],
"scrollLeft": 0,
"scrollTop": 0,
"calcChain": [
{
"r": 2,
"c": 2,
"index": "Sheet_a3wL60hb6ehl_1595574256825",
"func": [
true,
"",
"=LINESPLINES(B3:B5,'pink',4,'avg','yellow','red','green',3)"
],
"color": "w",
"parent": null,
"chidren": {},
"times": 0
},
{
"r": 2,
"c": 4,
"index": "Sheet_a3wL60hb6ehl_1595574256825",
"func": [
true,
"",
"=COLUMNSPLINES(B3:B5,35,'red','green','auto','brown')"
],
"color": "w",
"parent": null,
"chidren": {},
"times": 0
}
]
}
export default sheetSparkline;