Skip to content

Commit 26eecd9

Browse files
committed
Add dash style property to marker line schemas
- Add `dash` property to marker line configurations across multiple plot types, allowing customisation of line dash patterns - Support both predefined dash styles (`solid`, `dot`, `dash`, `longdash`, `dashdot`, `longdashdot`) and custom dash length lists in pixels - Include `dashsrc` property for Chart Studio Cloud integration to enable data source references for dash styling - Set default value to `solid` for consistent backward compatibility - Enable array support for most implementations to allow per-marker dash customisation
1 parent 0df71bb commit 26eecd9

1 file changed

Lines changed: 295 additions & 0 deletions

File tree

dist/plot-schema.json

Lines changed: 295 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17891,6 +17891,26 @@
1789117891
"editType": "none",
1789217892
"valType": "string"
1789317893
},
17894+
"dash": {
17895+
"arrayOk": true,
17896+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).",
17897+
"dflt": "solid",
17898+
"editType": "style",
17899+
"valType": "string",
17900+
"values": [
17901+
"solid",
17902+
"dot",
17903+
"dash",
17904+
"longdash",
17905+
"dashdot",
17906+
"longdashdot"
17907+
]
17908+
},
17909+
"dashsrc": {
17910+
"description": "Sets the source reference on Chart Studio Cloud for `dash`.",
17911+
"editType": "none",
17912+
"valType": "string"
17913+
},
1789417914
"editType": "calc",
1789517915
"reversescale": {
1789617916
"description": "Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.",
@@ -19949,6 +19969,26 @@
1994919969
"editType": "none",
1995019970
"valType": "string"
1995119971
},
19972+
"dash": {
19973+
"arrayOk": true,
19974+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).",
19975+
"dflt": "solid",
19976+
"editType": "style",
19977+
"valType": "string",
19978+
"values": [
19979+
"solid",
19980+
"dot",
19981+
"dash",
19982+
"longdash",
19983+
"dashdot",
19984+
"longdashdot"
19985+
]
19986+
},
19987+
"dashsrc": {
19988+
"description": "Sets the source reference on Chart Studio Cloud for `dash`.",
19989+
"editType": "none",
19990+
"valType": "string"
19991+
},
1995219992
"editType": "calc",
1995319993
"reversescale": {
1995419994
"description": "Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.",
@@ -36539,6 +36579,26 @@
3653936579
"editType": "none",
3654036580
"valType": "string"
3654136581
},
36582+
"dash": {
36583+
"arrayOk": true,
36584+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).",
36585+
"dflt": "solid",
36586+
"editType": "style",
36587+
"valType": "string",
36588+
"values": [
36589+
"solid",
36590+
"dot",
36591+
"dash",
36592+
"longdash",
36593+
"dashdot",
36594+
"longdashdot"
36595+
]
36596+
},
36597+
"dashsrc": {
36598+
"description": "Sets the source reference on Chart Studio Cloud for `dash`.",
36599+
"editType": "none",
36600+
"valType": "string"
36601+
},
3654236602
"editType": "calc",
3654336603
"reversescale": {
3654436604
"description": "Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.",
@@ -41566,6 +41626,26 @@
4156641626
"editType": "none",
4156741627
"valType": "string"
4156841628
},
41629+
"dash": {
41630+
"arrayOk": true,
41631+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).",
41632+
"dflt": "solid",
41633+
"editType": "style",
41634+
"valType": "string",
41635+
"values": [
41636+
"solid",
41637+
"dot",
41638+
"dash",
41639+
"longdash",
41640+
"dashdot",
41641+
"longdashdot"
41642+
]
41643+
},
41644+
"dashsrc": {
41645+
"description": "Sets the source reference on Chart Studio Cloud for `dash`.",
41646+
"editType": "none",
41647+
"valType": "string"
41648+
},
4156941649
"editType": "calc",
4157041650
"reversescale": {
4157141651
"description": "Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.",
@@ -60613,6 +60693,26 @@
6061360693
"editType": "none",
6061460694
"valType": "string"
6061560695
},
60696+
"dash": {
60697+
"arrayOk": true,
60698+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).",
60699+
"dflt": "solid",
60700+
"editType": "style",
60701+
"valType": "string",
60702+
"values": [
60703+
"solid",
60704+
"dot",
60705+
"dash",
60706+
"longdash",
60707+
"dashdot",
60708+
"longdashdot"
60709+
]
60710+
},
60711+
"dashsrc": {
60712+
"description": "Sets the source reference on Chart Studio Cloud for `dash`.",
60713+
"editType": "none",
60714+
"valType": "string"
60715+
},
6061660716
"editType": "calc",
6061760717
"reversescale": {
6061860718
"description": "Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.",
@@ -63938,6 +64038,21 @@
6393864038
"editType": "none",
6393964039
"valType": "string"
6394064040
},
64041+
"dash": {
64042+
"arrayOk": false,
64043+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).",
64044+
"dflt": "solid",
64045+
"editType": "calc",
64046+
"valType": "string",
64047+
"values": [
64048+
"solid",
64049+
"dot",
64050+
"dash",
64051+
"longdash",
64052+
"dashdot",
64053+
"longdashdot"
64054+
]
64055+
},
6394164056
"editType": "calc",
6394264057
"reversescale": {
6394364058
"description": "Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.",
@@ -65716,6 +65831,26 @@
6571665831
"editType": "none",
6571765832
"valType": "string"
6571865833
},
65834+
"dash": {
65835+
"arrayOk": true,
65836+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).",
65837+
"dflt": "solid",
65838+
"editType": "style",
65839+
"valType": "string",
65840+
"values": [
65841+
"solid",
65842+
"dot",
65843+
"dash",
65844+
"longdash",
65845+
"dashdot",
65846+
"longdashdot"
65847+
]
65848+
},
65849+
"dashsrc": {
65850+
"description": "Sets the source reference on Chart Studio Cloud for `dash`.",
65851+
"editType": "none",
65852+
"valType": "string"
65853+
},
6571965854
"editType": "calc",
6572065855
"gradient": {
6572165856
"color": {
@@ -65817,6 +65952,26 @@
6581765952
"editType": "none",
6581865953
"valType": "string"
6581965954
},
65955+
"dash": {
65956+
"arrayOk": true,
65957+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).",
65958+
"dflt": "solid",
65959+
"editType": "style",
65960+
"valType": "string",
65961+
"values": [
65962+
"solid",
65963+
"dot",
65964+
"dash",
65965+
"longdash",
65966+
"dashdot",
65967+
"longdashdot"
65968+
]
65969+
},
65970+
"dashsrc": {
65971+
"description": "Sets the source reference on Chart Studio Cloud for `dash`.",
65972+
"editType": "none",
65973+
"valType": "string"
65974+
},
6582065975
"editType": "calc",
6582165976
"reversescale": {
6582265977
"description": "Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.",
@@ -68123,6 +68278,26 @@
6812368278
"editType": "none",
6812468279
"valType": "string"
6812568280
},
68281+
"dash": {
68282+
"arrayOk": true,
68283+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).",
68284+
"dflt": "solid",
68285+
"editType": "style",
68286+
"valType": "string",
68287+
"values": [
68288+
"solid",
68289+
"dot",
68290+
"dash",
68291+
"longdash",
68292+
"dashdot",
68293+
"longdashdot"
68294+
]
68295+
},
68296+
"dashsrc": {
68297+
"description": "Sets the source reference on Chart Studio Cloud for `dash`.",
68298+
"editType": "none",
68299+
"valType": "string"
68300+
},
6812668301
"editType": "calc",
6812768302
"reversescale": {
6812868303
"description": "Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.",
@@ -70511,6 +70686,26 @@
7051170686
"editType": "none",
7051270687
"valType": "string"
7051370688
},
70689+
"dash": {
70690+
"arrayOk": true,
70691+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).",
70692+
"dflt": "solid",
70693+
"editType": "style",
70694+
"valType": "string",
70695+
"values": [
70696+
"solid",
70697+
"dot",
70698+
"dash",
70699+
"longdash",
70700+
"dashdot",
70701+
"longdashdot"
70702+
]
70703+
},
70704+
"dashsrc": {
70705+
"description": "Sets the source reference on Chart Studio Cloud for `dash`.",
70706+
"editType": "none",
70707+
"valType": "string"
70708+
},
7051470709
"editType": "calc",
7051570710
"reversescale": {
7051670711
"description": "Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.",
@@ -75980,6 +76175,26 @@
7598076175
"editType": "none",
7598176176
"valType": "string"
7598276177
},
76178+
"dash": {
76179+
"arrayOk": true,
76180+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).",
76181+
"dflt": "solid",
76182+
"editType": "style",
76183+
"valType": "string",
76184+
"values": [
76185+
"solid",
76186+
"dot",
76187+
"dash",
76188+
"longdash",
76189+
"dashdot",
76190+
"longdashdot"
76191+
]
76192+
},
76193+
"dashsrc": {
76194+
"description": "Sets the source reference on Chart Studio Cloud for `dash`.",
76195+
"editType": "none",
76196+
"valType": "string"
76197+
},
7598376198
"editType": "calc",
7598476199
"reversescale": {
7598576200
"description": "Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.",
@@ -78226,6 +78441,26 @@
7822678441
"editType": "none",
7822778442
"valType": "string"
7822878443
},
78444+
"dash": {
78445+
"arrayOk": true,
78446+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).",
78447+
"dflt": "solid",
78448+
"editType": "style",
78449+
"valType": "string",
78450+
"values": [
78451+
"solid",
78452+
"dot",
78453+
"dash",
78454+
"longdash",
78455+
"dashdot",
78456+
"longdashdot"
78457+
]
78458+
},
78459+
"dashsrc": {
78460+
"description": "Sets the source reference on Chart Studio Cloud for `dash`.",
78461+
"editType": "none",
78462+
"valType": "string"
78463+
},
7822978464
"editType": "calc",
7823078465
"reversescale": {
7823178466
"description": "Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.",
@@ -80482,6 +80717,26 @@
8048280717
"editType": "none",
8048380718
"valType": "string"
8048480719
},
80720+
"dash": {
80721+
"arrayOk": true,
80722+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).",
80723+
"dflt": "solid",
80724+
"editType": "style",
80725+
"valType": "string",
80726+
"values": [
80727+
"solid",
80728+
"dot",
80729+
"dash",
80730+
"longdash",
80731+
"dashdot",
80732+
"longdashdot"
80733+
]
80734+
},
80735+
"dashsrc": {
80736+
"description": "Sets the source reference on Chart Studio Cloud for `dash`.",
80737+
"editType": "none",
80738+
"valType": "string"
80739+
},
8048580740
"editType": "calc",
8048680741
"reversescale": {
8048780742
"description": "Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.",
@@ -82800,6 +83055,26 @@
8280083055
"editType": "none",
8280183056
"valType": "string"
8280283057
},
83058+
"dash": {
83059+
"arrayOk": true,
83060+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).",
83061+
"dflt": "solid",
83062+
"editType": "style",
83063+
"valType": "string",
83064+
"values": [
83065+
"solid",
83066+
"dot",
83067+
"dash",
83068+
"longdash",
83069+
"dashdot",
83070+
"longdashdot"
83071+
]
83072+
},
83073+
"dashsrc": {
83074+
"description": "Sets the source reference on Chart Studio Cloud for `dash`.",
83075+
"editType": "none",
83076+
"valType": "string"
83077+
},
8280383078
"editType": "calc",
8280483079
"reversescale": {
8280583080
"description": "Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.",
@@ -85016,6 +85291,26 @@
8501685291
"editType": "none",
8501785292
"valType": "string"
8501885293
},
85294+
"dash": {
85295+
"arrayOk": true,
85296+
"description": "Sets the dash style of lines. Set to a dash type string (*solid*, *dot*, *dash*, *longdash*, *dashdot*, or *longdashdot*) or a dash length list in px (eg *5px,10px,2px,2px*).",
85297+
"dflt": "solid",
85298+
"editType": "style",
85299+
"valType": "string",
85300+
"values": [
85301+
"solid",
85302+
"dot",
85303+
"dash",
85304+
"longdash",
85305+
"dashdot",
85306+
"longdashdot"
85307+
]
85308+
},
85309+
"dashsrc": {
85310+
"description": "Sets the source reference on Chart Studio Cloud for `dash`.",
85311+
"editType": "none",
85312+
"valType": "string"
85313+
},
8501985314
"editType": "calc",
8502085315
"reversescale": {
8502185316
"description": "Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color.",

0 commit comments

Comments
 (0)