多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# 形状与覆盖 # 形状与覆盖 使用[createMultipointShape(points, options)](Chart-Methods.html#createMultipointShapepoints-options)可以创建50多个不同的图形。 这些全部包含在下表中,默认属性可以使用`overrides`来改变。 图形背景颜色背景透明度粗体边框颜色颜色绘图边框填充背景固定大小字体字体大小斜体文本自动换行换行长度标记颜色文本颜色线条宽度透明度字体粗细text\#9BBED570FALSE\#667B8B\#667B8BFALSEFALSETRUEVerdana20FALSETextFALSE400anchored\_text\#9BBED570FALSE\#667B8B\#667B8BFALSEFALSETRUEVerdana20FALSETextFALSE400note\#FFFFFF0FALSETRUEArial12FALSEText\#2E66FF\#000000anchored\_note\#FFFFFF0FALSETRUEArial12FALSEText\#2E66FF\#000000callout\#991515FALSE\#991515\#FFFFFFVerdana12FALSETextFALSE400250balloon\#fffece\#8c8c8c\#667b8bArial12Comment30bold图形背景颜色边框颜色颜色字体字体大小文本透明度字体粗细arrow\_up\#787878Verdana20textarrow\_down\#787878Verdana20textarrow\_left\#787878Verdana20textarrow\_right\#787878Verdana20textprice\_label\#ffffff\#8c8c8c\#667b8bArial1130boldflag图形背景颜色粗体颜色填充背景字体字体大小斜体线条宽度文本颜色透明度xabcd\_pattern\#CC2895FALSE\#CC2895TRUEVerdana12FALSE1\#FFFFFF50abcd\_patternFALSE\#009B00Verdana12FALSE2\#FFFFFFtriangle\_pattern\#9528CCFALSE\#9528FFTRUEVerdana12FALSE1\#FFFFFF503divers\_pattern\#9528CCFALSE\#9528FFTRUEVerdana12FALSE2\#FFFFFF50head\_and\_shoulders\#45A82FFALSE\#45682FTRUEVerdana12FALSE2\#FFFFFF50cypher\_pattern\#CC2895FALSE\#CC2895TRUEVerdana12FALSE1\#FFFFFF50图形背景颜色颜色级别向左延伸向右延伸填充背景填充左端线条颜色线条样式线条宽度右端显示波浪透明度趋势线.线条颜色elliott\_impulse\_wave\#3d85c671TRUEelliott\_triangle\_wave\#ff980071TRUEelliott\_triple\_combo\#6aa84f71TRUEelliott\_correction\#3d85c671TRUEelliott\_double\_combo\#6aa84f71TRUEcyclic\_lines\#80CCDB01\#808080time\_cycles\#6AA84FTRUE\#1599800150sine\_line\#15998001rectangle\#153899\#153899TRUE150rotated\_rectangle\#8e7cc3\#9800ffTRUE150ellipse\#999915\#999915TRUE150triangle\#991515\#991515TRUE150polyline\#153899TRUEFALSE\#3535350250curve\#153899FALSEFALSEFALSE0\#15998001050double\_curve\#153899FALSEFALSEFALSE0\#15998001050arc\#999915\#999915TRUE150图形背景颜色boldextendLeftextendRight填充背景fontfontsizehorzLabelsAlignitalicleftEndlinecolorlinestylelinewidthrightEndshowAngleshowBarsRangeshowDateTimeRangeshowDistanceshowLabelshowPriceshowPriceRangeshowPricestextcolortransparencyvertLabelsAlignshowTimeshowMidlinemidlinecolormidlinestylemidlinewidthvertical\_line\#80CCDB01TRUEhorizontal\_lineTRUEVerdana12centerFALSE\#80CCDB01FALSETRUE\#157760tophorizontal\_rayTRUEVerdana12centerFALSE\#80CCDB01FALSETRUE\#157760toptrend\_lineFALSEFALSEFALSEVerdana12FALSE0\#159980010FALSEFALSEFALSEFALSEFALSE\#157760trend\_angleTRUEFALSEFALSEVerdana12FALSE\#15998001FALSEFALSE\#157760arrowFALSEFALSEFALSEVerdana12FALSE0\#6F88C6021FALSEFALSEFALSEFALSEFALSE\#157760rayFALSEFALSETRUEVerdana12FALSE0\#159980010FALSEFALSEFALSEFALSEFALSE\#157760extendedFALSETRUETRUEVerdana12FALSE0\#159980010FALSEFALSEFALSEFALSEFALSE\#157760parallel\_channel\#b4a7d6FALSEFALSETRUE\#7734990150FALSE\#77349921disjoint\_angle\#6AA84FFALSEFALSEFALSETRUEVerdana12FALSE0\#129f5c020FALSEFALSEFALSEFALSE\#129f5c50flat\_bottom\#153899FALSEFALSEFALSETRUEVerdana12FALSE0\#4985e7020FALSEFALSEFALSEFALSE\#4985e750fib\_spiral\#15998001图形填充背景transparencystylemedian.visiblemedian.colormedian.linewidthmedian.linestylelevel0.visiblelevel0.colorlevel0.linewidthlevel0.linestylelevel0.coefflevel1.visiblelevel1.colorlevel1.linewidthlevel1.linestylelevel1.coefflevel2.visiblelevel2.colorlevel2.linewidthlevel2.linestylelevel2.coefflevel3.visiblelevel3.colorlevel3.linewidthlevel3.linestylelevel3.coefflevel4.visiblelevel4.colorlevel4.linewidthlevel4.linestylelevel4.coefflevel5.visiblelevel5.colorlevel5.linewidthlevel5.linestylelevel5.coefflevel6.visiblelevel6.colorlevel6.linewidthlevel6.linestylelevel6.coefflevel7.visiblelevel7.colorlevel7.linewidthlevel7.linestylelevel7.coefflevel8.visiblelevel8.colorlevel8.linewidthlevel8.linestylelevel8.coeffpitchforkTRUE800TRUE\#A5000010FALSE\#A06B00100.25FALSE\#699E00100.382TRUE\#009B00100.5FALSE\#009965100.618FALSE\#006599100.75TRUE\#000099101FALSE\#660099101.5FALSE\#990066101.75FALSE\#A50000102schiff\_pitchfork\_modifiedTRUE801TRUE\#A5000010FALSE\#A06B00100.25FALSE\#699E00100.382TRUE\#009B00100.5FALSE\#009965100.618FALSE\#006599100.75TRUE\#000099101FALSE\#660099101.5FALSE\#990066101.75FALSE\#A50000102schiff\_pitchforkTRUE803TRUE\#A5000010FALSE\#A06B00100.25FALSE\#699E00100.382TRUE\#009B00100.5FALSE\#009965100.618FALSE\#006599100.75TRUE\#000099101FALSE\#660099101.5FALSE\#990066101.75FALSE\#A50000102inside\_pitchforkTRUE802TRUE\#A5000010FALSE\#A06B00100.25FALSE\#699E00100.382TRUE\#009B00100.5FALSE\#009965100.618FALSE\#006599100.75TRUE\#000099101FALSE\#660099101.5FALSE\#990066101.75FALSE\#A50000102pitchfanTRUE80TRUE\#A5000010FALSE\#A06B00100.25FALSE\#699E00100.382TRUE\#009B00100.5FALSE\#009965100.618FALSE\#006599100.75TRUE\#000099101FALSE\#660099101.5FALSE\#990066101.75FALSE\#A50000102图形填充背景arcsBackground.填充背景arcsBackground.transparencylevels.0.widthlevels.0.colorlevels.0.visiblelevels.1.widthlevels.1.colorlevels.1.visiblelevels.2.widthlevels.2.colorlevels.2.visiblelevels.3.widthlevels.3.colorlevels.3.visiblelevels.4.widthlevels.4.colorlevels.4.visiblelevels.5.widthlevels.5.colorlevels.5.visiblefanlines.0.widthfanlines.0.colorfanlines.0.visiblefanlines.0.xfanlines.0.yfanlines.1.widthfanlines.1.colorfanlines.1.visiblefanlines.1.xfanlines.1.yfanlines.2.widthfanlines.2.colorfanlines.2.visiblefanlines.2.xfanlines.2.yfanlines.3.widthfanlines.3.colorfanlines.3.visiblefanlines.3.xfanlines.3.yfanlines.4.widthfanlines.4.colorfanlines.4.visiblefanlines.4.xfanlines.4.yfanlines.5.widthfanlines.5.colorfanlines.5.visiblefanlines.5.xfanlines.5.yfanlines.6.widthfanlines.6.colorfanlines.6.visiblefanlines.6.xfanlines.6.yfanlines.7.widthfanlines.7.colorfanlines.7.visiblefanlines.7.xfanlines.7.yfanlines.8.widthfanlines.8.colorfanlines.8.visiblefanlines.8.xfanlines.8.yfanlines.9.widthfanlines.9.colorfanlines.9.visiblefanlines.9.xfanlines.9.yfanlines.10.widthfanlines.10.colorfanlines.10.visiblefanlines.10.xfanlines.10.yarcs.0.widtharcs.0.colorarcs.0.visiblearcs.0.xarcs.0.yarcs.1.widtharcs.1.colorarcs.1.visiblearcs.1.xarcs.1.yarcs.2.widtharcs.2.colorarcs.2.visiblearcs.2.xarcs.2.yarcs.3.widtharcs.3.colorarcs.3.visiblearcs.3.xarcs.3.yarcs.4.widtharcs.4.colorarcs.4.visiblearcs.4.xarcs.4.yarcs.5.widtharcs.5.colorarcs.5.visiblearcs.5.xarcs.5.yarcs.6.widtharcs.6.colorarcs.6.visiblearcs.6.xarcs.6.yarcs.7.widtharcs.7.colorarcs.7.visiblearcs.7.xarcs.7.yarcs.8.widtharcs.8.colorarcs.8.visiblearcs.8.xarcs.8.yarcs.9.widtharcs.9.colorarcs.9.visiblearcs.9.xarcs.9.yarcs.10.widtharcs.10.colorarcs.10.visiblearcs.10.xarcs.10.ygannbox\_squareFALSETRUE501\#808080TRUE1\#A06B00TRUE1\#699E00TRUE1\#009B00TRUE1\#009965TRUE1\#808080TRUE1\#A500FFFALSE811\#A50000FALSE511\#808080FALSE411\#A06B00FALSE311\#699E00TRUE211\#009B00TRUE111\#009965TRUE121\#009965FALSE131\#000099FALSE141\#660099FALSE151\#A500FFFALSE181\#A06B00TRUE101\#A06B00TRUE111\#A06B00TRUE1.501\#699E00TRUE201\#699E00TRUE211\#009B00TRUE301\#009B00TRUE311\#009965TRUE401\#009965TRUE411\#000099TRUE501\#000099TRUE51图形showLabelsfont填充背景transparencylevel1.visiblelevel1.colorlevel1.linewidthlevel1.linestylelevel1.coeff1level1.coeff2level2.visiblelevel2.colorlevel2.linewidthlevel2.linestylelevel2.coeff1level2.coeff2level3.visiblelevel3.colorlevel3.linewidthlevel3.linestylelevel3.coeff1level3.coeff2level4.visiblelevel4.colorlevel4.linewidthlevel4.linestylelevel4.coeff1level4.coeff2level5.visiblelevel5.colorlevel5.linewidthlevel5.linestylelevel5.coeff1level5.coeff2level6.visiblelevel6.colorlevel6.linewidthlevel6.linestylelevel6.coeff1level6.coeff2level7.visiblelevel7.colorlevel7.linewidthlevel7.linestylelevel7.coeff1level7.coeff2level8.visiblelevel8.colorlevel8.linewidthlevel8.linestylelevel8.coeff1level8.coeff2level9.visiblelevel9.colorlevel9.linewidthlevel9.linestylelevel9.coeff1level9.coeff2gannbox\_fanTRUEVerdanaTRUE80TRUE\#A06B001018TRUE\#699E001014TRUE\#009B001013TRUE\#0099651012TRUE\#8080801011TRUE\#0065991021TRUE\#0000991031TRUE\#6600991041TRUE\#A500001081图形colorlinewidthlinestylefontshowTopLabelsshowBottomLabelsshowLeftLabelsshowRightLabelsfillHorzBackgroundhorzTransparencyfillVertBackgroundvertTransparencyhlevel1.colorhlevel1.coeffhlevel1.visiblehlevel2.colorhlevel2.coeffhlevel2.visiblehlevel3.colorhlevel3.coeffhlevel3.visiblehlevel4.colorhlevel4.coeffhlevel4.visiblehlevel5.colorhlevel5.coeffhlevel5.visiblehlevel6.colorhlevel6.coeffhlevel6.visiblehlevel7.colorhlevel7.coeffhlevel7.visiblevlevel1.colorvlevel1.coeffvlevel1.visiblevlevel2.colorvlevel2.coeffvlevel2.visiblevlevel3.colorvlevel3.coeffvlevel3.visiblevlevel4.colorvlevel4.coeffvlevel4.visiblevlevel5.colorvlevel5.coeffvlevel5.visiblevlevel6.colorvlevel6.coeffvlevel6.visiblevlevel7.colorvlevel7.coeffvlevel7.visible填充背景transparencysnapTo45Degreesgrid.colorgrid.linewidthgrid.linestylegrid.visiblegannbox\#15389910VerdanaTRUETRUETRUETRUETRUE80TRUE80\#8080800TRUE\#A06B000.25TRUE\#699E000.382TRUE\#009B000.5TRUE\#0099650.618TRUE\#0065990.75TRUE\#8080801TRUE\#8080800TRUE\#A06B000.25TRUE\#699E000.382TRUE\#009B000.5TRUE\#0099650.618TRUE\#0065990.75TRUE\#8080801TRUEfib\_speed\_resist\_fan10VerdanaTRUETRUETRUETRUE\#8080800TRUE\#A06B000.25TRUE\#699E000.382TRUE\#009B000.5TRUE\#0099650.618TRUE\#0065990.75TRUE\#8080801TRUE\#8080800TRUE\#A06B000.25TRUE\#699E000.382TRUE\#009B000.5TRUE\#0099650.618TRUE\#0065990.75TRUE\#8080801TRUETRUE80TRUE\#80808010TRUE图形showCoeffsshowPricesfont填充背景transparencyextendLineshorzLabelsAlignvertLabelsAlignreversecoeffsAsPercentstrendline.visibletrendline.colortrendline.linewidthtrendline.linestylelevelsStyle.linewidthlevelsStyle.linestylelevel1.visiblelevel1.colorlevel1.coefflevel2.visiblelevel2.colorlevel2.coefflevel3.visiblelevel3.colorlevel3.coefflevel4.visiblelevel4.colorlevel4.coefflevel5.visiblelevel5.colorlevel5.coefflevel6.visiblelevel6.colorlevel6.coefflevel7.visiblelevel7.colorlevel7.coefflevel8.visiblelevel8.colorlevel8.coefflevel9.visiblelevel9.colorlevel9.coefflevel10.visiblelevel10.colorlevel10.coefflevel11.visiblelevel11.colorlevel11.coefflevel12.visiblelevel12.colorlevel12.coefflevel13.visiblelevel13.colorlevel13.coefflevel16.visiblelevel16.colorlevel16.coefflevel14.visiblelevel14.colorlevel14.coefflevel15.visiblelevel15.colorlevel15.coefflevel17.visiblelevel17.colorlevel17.coefflevel18.visiblelevel18.colorlevel18.coefflevel19.visiblelevel19.colorlevel19.coefflevel20.visiblelevel20.colorlevel20.coefflevel21.visiblelevel21.colorlevel21.coefflevel22.visiblelevel22.colorlevel22.coefflevel23.visiblelevel23.colorlevel23.coefflevel24.visiblelevel24.colorlevel24.coeffbaselinecolorlinecolorlinewidthlinestyleshowLabelslevel1.linewidthlevel1.linestylelevel2.linewidthlevel2.linestylelevel3.linewidthlevel3.linestylelevel4.linewidthlevel4.linestylelevel5.linewidthlevel5.linestylelevel6.linewidthlevel6.linestylelevel7.linewidthlevel7.linestylelevel8.linewidthlevel8.linestylelevel9.linewidthlevel9.linestylelevel10.linewidthlevel10.linestylelevel11.linewidthlevel11.linestylefullCirclesextendLeftextendRightfib\_retracementTRUETRUEVerdanaTRUE80FALSEleftmiddleFALSEFALSETRUE\#8080801210TRUE\#8080800TRUE\#CC28280.236TRUE\#95CC280.382TRUE\#28CC280.5TRUE\#28CC950.618TRUE\#2895CC0.764TRUE\#8080801TRUE\#2828CC1.618TRUE\#CC28282.618TRUE\#9528CC3.618TRUE\#CC28954.236FALSE\#95CC281.272FALSE\#CC28281.414FALSE\#28CC952FALSE\#95CC282.272FALSE\#28CC282.414FALSE\#2895CC3FALSE\#8080803.272FALSE\#2828CC3.414FALSE\#CC28284FALSE\#9528CC4.272FALSE\#CC28954.414FALSE\#95CC284.618FALSE\#28CC954.764fib\_trend\_extTRUETRUEVerdanaTRUE80FALSEleftmiddleFALSEFALSETRUE\#8080801210TRUE\#8080800TRUE\#CC28280.236TRUE\#95CC280.382TRUE\#28CC280.5TRUE\#28CC950.618TRUE\#2895CC0.764TRUE\#8080801TRUE\#2828CC1.618TRUE\#CC28282.618TRUE\#9528CC3.618TRUE\#CC28954.236FALSE\#95CC281.272FALSE\#CC28281.414FALSE\#28CC952FALSE\#95CC282.272FALSE\#28CC282.414FALSE\#2895CC3FALSE\#8080803.272FALSE\#2828CC3.414FALSE\#CC28284FALSE\#9528CC4.272FALSE\#CC28954.414FALSE\#95CC284.618FALSE\#28CC954.764fib\_timezoneVerdanaFALSE80rightbottomTRUE\#80808012TRUE\#8080800TRUE\#0055DB1TRUE\#0055DB2TRUE\#0055DB3TRUE\#0055DB5TRUE\#0055DB8TRUE\#0055DB13TRUE\#0055DB21TRUE\#0055DB34TRUE\#0055DB55TRUE\#0055DB89\#808080\#0055DB10TRUE1010101010101010101010fib\_trend\_timeTRUEVerdanaTRUE80rightbottomTRUE\#80808012TRUE\#8080800TRUE\#CC28280.382FALSE\#95CC280.5TRUE\#28CC280.618TRUE\#28CC951TRUE\#2895CC1.382TRUE\#8080801.618TRUE\#2828CC2TRUE\#CC28282.382TRUE\#9528CC2.618TRUE\#CC289531010101010101010101010fib\_circlesTRUEVerdanaTRUE80FALSETRUE\#80808012TRUE\#CC28280.236TRUE\#95CC280.382TRUE\#28CC280.5TRUE\#28CC950.618TRUE\#2895CC0.764TRUE\#8080801TRUE\#2828CC1.618TRUE\#CC28282.618TRUE\#9528CC3.618TRUE\#CC28954.236TRUE\#CC28954.6181010101010101010101010fib\_speed\_resist\_arcsTRUEVerdanaTRUE80TRUE\#80808012TRUE\#CC28280.236TRUE\#95CC280.382TRUE\#28CC280.5TRUE\#28CC950.618TRUE\#2895CC0.764TRUE\#8080801TRUE\#2828CC1.618TRUE\#CC28282.618TRUE\#9528CC3.618TRUE\#CC28954.236TRUE\#CC28954.6181010101010101010101010FALSEfib\_wedgeTRUEVerdanaTRUE80TRUE\#80808010TRUE\#CC28280.236TRUE\#95CC280.382TRUE\#28CC280.5TRUE\#28CC950.618TRUE\#2895CC0.764TRUE\#8080801FALSE\#2828CC1.618FALSE\#CC28282.618FALSE\#9528CC3.618FALSE\#CC28954.236FALSE\#CC28954.6181010101010101010101010fib\_channelTRUETRUEVerdanaTRUE80leftmiddleFALSE10TRUE\#8080800TRUE\#CC28280.236TRUE\#95CC280.382TRUE\#28CC280.5TRUE\#28CC950.618TRUE\#2895CC0.764TRUE\#8080801TRUE\#2828CC1.618TRUE\#CC28282.618TRUE\#9528CC3.618TRUE\#CC28954.236FALSE\#95CC281.272FALSE\#CC28281.414FALSE\#28CC952FALSE\#95CC282.272FALSE\#28CC282.414FALSE\#2895CC3FALSE\#8080803.272FALSE\#2828CC3.414FALSE\#CC28284FALSE\#9528CC4.272FALSE\#CC28954.414FALSE\#95CC284.618FALSE\#28CC954.764FALSEFALSE图形边框颜色drawBorder填充背景fillLabelBackgroundfontfontsizeisShortlabel背景颜色labelBackgroundTransparencylinecolorlinewidthprofitBackgroundprofitBackgroundTransparencystopBackgroundstopBackgroundTransparencytextcolor背景颜色backgroundTransparencydate\_range\#667B8BFALSETRUETRUEVerdana12\#00000030\#5858581\#FFFFFF\#BADAFF60price\_range\#667B8BFALSETRUETRUEVerdana12\#00000030\#5858581\#FFFFFF\#BADAFF60date\_and\_price\_range\#667B8BFALSETRUETRUEVerdana12\#00000030\#5858581\#FFFFFF\#BADAFF60图形边框颜色drawBorder填充背景fillLabelBackgroundfontfontsizeisShortlabel背景颜色labelBackgroundTransparencylinecolorlinewidthprofitLevelprofitBackgroundprofitBackgroundTransparencystopLevelstopBackgroundstopBackgroundTransparencytextcolor背景颜色backgroundTransparencylong\_position\#667B8BFALSETRUETRUEVerdana12FALSE\#5858580\#5858581(Visible bars' high price - Visible bars' low price) \* 20\#00A00080(Visible bars' high price - Visible bars' low price) \* 20\#FF000080whiteshort\_position\#667B8BFALSETRUETRUEVerdana12TRUE\#5858580\#5858581(Visible bars' high price - Visible bars' low price) \* 20\#00A00080(Visible bars' high price - Visible bars' low price) \* 20\#FF000080white图形showCoeffsfont填充背景transparencycolor1color2linewidthtrendline.visibletrendline.colortrendline.linestylelevel1.colorlevel1.visiblelevel1.linewidthlevel1.linestylelevel1.coeffprojectionTRUEVerdanaTRUE80\#008000\#FF00001TRUE\#8080800\#808080TRUE101图形linecolorlinewidthcentersColorfailureBackgroundfailureTextColorintermediateBackColorintermediateTextColorsingleChartOnlysourceBackColorsourceStrokeColorsourceTextColorsuccessBackgroundsuccessTextColortargetBackColortargetStrokeColortargetTextColortransparencyforecast\#1c73db2\#202020\#e74545\#ffffff\#ead289\#6d4d22TRUE\#f1f1f1\#6e6e6e\#6e6e6e\#36a02a\#ffffff\#0b6fde\#2fa8ff\#ffffff10图形averageHLvariancetransparencycandleStyle.upColorcandleStyle.downColorcandleStyle.drawWickcandleStyle.drawBordercandleStyle.边框颜色candleStyle.borderUpColorcandleStyle.borderDownColorcandleStyle.wickColorghost\_feed205050\#6BA583\#D75442TRUETRUE\#378658\#225437\#5B1A13\#737375图形colorsizeangle (rad)scaleicon\*icon\#3d85c6401,57110x263A\* 图标可以是以下值之一: ![](https://box.kancloud.cn/a12fe7ac66995f2992079966b8f3ab76_1519x884.png) 图形colorflippedmirroredmodebars\_pattern\#5091CCFALSEFALSE0一些属性的可能值: - `linestyle`: `[0 (solid), 1 (dotted), 2 (dashed), 3 (large dashed)]` - `linewidth`: `[1, 2, 3, 4]` - `horzLabelsAlign`: `["center", "left", "right"]` - `vertLabelsAlign`: `["top", "middle", "bottom"]` - `leftEnd`, `rightEnd`: `[0 (Normal), 1 (Arrow)]` - `bars_pattern` - `mode`: `[0 (HL Bars, 1 (Line-Close), 2 (OC Bars), 3 (Line-Open), 4 (Line-High), 5 (Line-Low), 6 (Line-HL/2)]`