Drawings-Overrides

Here is a full list of drawings overrides with default values. You can change default values using overrides argument of the widget constructor. At the bottom of the list you will find a list of constants and abbreviations used in the values.

linetoolicon: {
    singleChartOnly: true,
    color: 'rgba( 61, 133, 198, 1)',
    snapTo45Degrees:true,
    size: 40,
    icon: 0x263A,
    angle: Math.PI * 0.5,
    scale: 1.0
},
linetoolbezierquadro: {
    linecolor: 'rgba( 21, 153, 128, 1)',
    linewidth: 1.0,
    fillBackground: false,
    backgroundColor: 'rgba( 21, 56, 153, 0.5)',
    transparency: 50,
    linestyle: LINESTYLE_SOLID,
    extendLeft: false,
    extendRight: false,
    leftEnd: LINEEND_NORMAL,
    rightEnd: LINEEND_NORMAL
},
linetoolbeziercubic: {
    linecolor: 'rgba( 21, 153, 128, 1)',
    linewidth: 1.0,
    fillBackground: false,
    backgroundColor: 'rgba( 21, 56, 153, 0.5)',
    transparency: 50,
    linestyle: LINESTYLE_SOLID,
    extendLeft: false,
    extendRight: false,
    leftEnd: LINEEND_NORMAL,
    rightEnd: LINEEND_NORMAL
},
linetooltrendline: {
    linecolor: 'rgba( 21, 153, 128, 1)',
    linewidth: 1.0,
    linestyle: LINESTYLE_SOLID,
    extendLeft: false,
    extendRight: false,
    leftEnd: LINEEND_NORMAL,
    rightEnd: LINEEND_NORMAL,
    font: 'Verdana',
    textcolor: 'rgba( 21, 119, 96, 1)',
    fontsize: 12,
    bold:false,
    italic:false,
    snapTo45Degrees:true,
    alwaysShowStats: false,
    showPriceRange: false,
    showBarsRange: false,
    showDateTimeRange: false,
    showDistance:false,
    showAngle: false
},
linetooltimecycles: {
    linecolor: 'rgba(21, 153, 128, 1)',
    linewidth: 1.0,
    fillBackground: true,
    backgroundColor: 'rgba(106, 168, 79, 0.5)',
    transparency: 50,
    linestyle: LINESTYLE_SOLID
},
linetoolsineline: {
    linecolor: 'rgba( 21, 153, 128, 1)',
    linewidth: 1.0,
    linestyle: LINESTYLE_SOLID
},
linetooltrendangle: {
    singleChartOnly: true,
    linecolor: 'rgba( 21, 153, 128, 1)',
    linewidth: 1.0,
    linestyle: LINESTYLE_SOLID,
    snapTo45Degrees:true,
    font: 'Verdana',
    textcolor: 'rgba( 21, 119, 96, 1)',
    fontsize: 12,
    bold:true,
    italic:false,
    alwaysShowStats: false,
    showPriceRange: false,
    showBarsRange: false,
    extendRight: false,
    extendLeft: false
},
linetooldisjointangle: {
    linecolor: 'rgba( 18, 159, 92, 1)',
    linewidth: 2.0,
    linestyle: LINESTYLE_SOLID,
    fillBackground: true,
    backgroundColor: 'rgba( 106, 168, 79, 0.5)',
    transparency: 50,
    extendLeft: false,
    extendRight: false,
    leftEnd: LINEEND_NORMAL,
    rightEnd: LINEEND_NORMAL,
    font: 'Verdana',
    textcolor: 'rgba( 18, 159, 92, 1)',
    fontsize: 12,
    bold:false,
    italic:false,
    showPrices: false,
    showPriceRange: false,
    showDateTimeRange: false,
    showBarsRange: false
},
linetoolflatbottom: {
    linecolor: 'rgba( 73, 133, 231, 1)',
    linewidth: 2.0,
    linestyle: LINESTYLE_SOLID,
    fillBackground: true,
    backgroundColor: 'rgba( 21, 56, 153, 0.5)',
    transparency: 50,
    extendLeft: false,
    extendRight: false,
    leftEnd: LINEEND_NORMAL,
    rightEnd: LINEEND_NORMAL,
    font: 'Verdana',
    textcolor: 'rgba( 73, 133, 231, 1)',
    fontsize: 12,
    bold:false,
    italic:false,
    showPrices: false,
    showPriceRange: false,
    showDateTimeRange: false,
    showBarsRange: false
},
linetoolfibspiral: {
    linecolor: 'rgba( 21, 153, 128, 1)',
    linewidth: 1.0,
    linestyle: LINESTYLE_SOLID
},
linetooldaterange: {
    linecolor: 'rgba( 88, 88, 88, 1)',
    linewidth: 1.0,
    font: 'Verdana',
    textcolor: 'rgba( 255, 255, 255, 1)',
    fontsize: 12,
    fillLabelBackground: true,
    labelBackgroundColor: 'rgba( 91, 133, 191, 0.9)',
    labelBackgroundTransparency: 30,
    fillBackground: true,
    backgroundColor: 'rgba( 186, 218, 255, 0.4)',
    backgroundTransparency: 60,
    drawBorder: false,
    borderColor: 'rgba( 102, 123, 139, 1)'
},
linetoolpricerange: {
    linecolor: 'rgba( 88, 88, 88, 1)',
    linewidth: 1.0,
    font: 'Verdana',
    textcolor: 'rgba( 255, 255, 255, 1)',
    fontsize: 12,
    fillLabelBackground: true,
    labelBackgroundColor: 'rgba( 91, 133, 191, 0.9)',
    labelBackgroundTransparency: 30,
    fillBackground: true,
    backgroundColor: 'rgba( 186, 218, 255, 0.4)',
    backgroundTransparency: 60,
    drawBorder: false,
    borderColor: 'rgba( 102, 123, 139, 1)'
},
linetooldateandpricerange: {
    linecolor: 'rgba( 88, 88, 88, 1)',
    linewidth: 1.0,
    font: 'Verdana',
    textcolor: 'rgba( 255, 255, 255, 1)',
    fontsize: 12,
    fillLabelBackground: true,
    labelBackgroundColor: 'rgba( 91, 133, 191, 0.9)',
    labelBackgroundTransparency: 30,
    fillBackground: true,
    backgroundColor: 'rgba( 186, 218, 255, 0.4)',
    backgroundTransparency: 60,
    drawBorder: false,
    borderColor: 'rgba( 102, 123, 139, 1)'
},
linetoolriskrewardshort: {
    isShort:true,
    linecolor: 'rgba( 88, 88, 88, 1)',
    linewidth: 1.0,
    font: 'Verdana',
    textcolor: 'rgba(255, 255, 255, 1)',
    fontsize: 12,
    fillLabelBackground: true,
    labelBackgroundColor: 'rgba( 88, 88, 88, 1)',
    labelBackgroundTransparency: 0,
    fillBackground: true,
    stopBackground: 'rgba( 255, 0, 0, 0.2)',
    profitBackground: 'rgba( 0, 160, 0, 0.2)',
    stopBackgroundTransparency: 80,
    profitBackgroundTransparency: 80,
    drawBorder: false,
    borderColor: 'rgba( 102, 123, 139, 1)'
},
linetoolriskrewardlong: {
    isShort:false,
    linecolor: 'rgba( 88, 88, 88, 1)',
    linewidth: 1.0,
    font: 'Verdana',
    textcolor: 'rgba(255, 255, 255, 1)',
    fontsize: 12,
    fillLabelBackground: true,
    labelBackgroundColor: 'rgba( 88, 88, 88, 1)',
    labelBackgroundTransparency: 0,
    fillBackground: true,
    stopBackground: 'rgba( 255, 0, 0, 0.2)',
    profitBackground: 'rgba( 0, 160, 0, 0.2)',
    stopBackgroundTransparency: 80,
    profitBackgroundTransparency: 80,
    drawBorder: false,
    borderColor: 'rgba( 102, 123, 139, 1)'
},
linetoolarrow: {
    linecolor: 'rgba( 111, 136, 198, 1)',
    linewidth: 2.0,
    linestyle: LINESTYLE_SOLID,
    extendLeft: false,
    extendRight: false,
    leftEnd: LINEEND_NORMAL,
    rightEnd: LINEEND_ARROW,
    font: 'Verdana',
    textcolor: 'rgba( 21, 119, 96, 1)',
    fontsize: 12,
    bold:false,
    italic:false,
    alwaysShowStats: false,
    showPriceRange: false,
    showBarsRange: false,
    showDateTimeRange: false,
    showDistance:false,
    showAngle: false
},
linetoolray: {
    linecolor: 'rgba( 21, 153, 128, 1)',
    linewidth: 1.0,
    linestyle: LINESTYLE_SOLID,
    extendLeft: false,
    extendRight: true,
    leftEnd: LINEEND_NORMAL,
    rightEnd: LINEEND_NORMAL,
    font: 'Verdana',
    textcolor: 'rgba( 21, 119, 96, 1)',
    fontsize: 12,
    bold:false,
    italic:false,
    alwaysShowStats: false,
    showPriceRange: false,
    showBarsRange: false,
    showDateTimeRange: false,
    showDistance:false,
    showAngle: false
},
linetoolextended: {
    linecolor: 'rgba( 21, 153, 128, 1)',
    linewidth: 1.0,
    linestyle: LINESTYLE_SOLID,
    extendLeft: true,
    extendRight: true,
    leftEnd: LINEEND_NORMAL,
    rightEnd: LINEEND_NORMAL,
    font: 'Verdana',
    textcolor: 'rgba( 21, 119, 96, 1)',
    fontsize: 12,
    bold:false,
    italic:false,
    alwaysShowStats: false,
    showPriceRange: false,
    showBarsRange: false,
    showDateTimeRange: false,
    showDistance:false,
    showAngle: false
},
linetoolhorzline: {
    linecolor: 'rgba( 128, 204, 219, 1)',
    linewidth: 1.0,
    linestyle: LINESTYLE_SOLID,
    showPrice: true,
    showLabel: false,
    text: '',
    font: 'Verdana',
    textcolor: 'rgba( 21, 119, 96, 1)',
    fontsize: 12,
    bold:false,
    italic:false,
    horzLabelsAlign: 'center',
    vertLabelsAlign: 'top'
},
linetoolhorzray: {
    linecolor: 'rgba( 128, 204, 219, 1)',
    linewidth: 1.0,
    linestyle: LINESTYLE_SOLID,
    showPrice: true,
    showLabel: false,
    text: '',
    font: 'Verdana',
    textcolor: 'rgba( 21, 119, 96, 1)',
    fontsize: 12,
    bold:false,
    italic:false,
    horzLabelsAlign: 'center',
    vertLabelsAlign: 'top'
},
linetoolvertline: {
    linecolor: 'rgba( 128, 204, 219, 1)',
    linewidth: 1.0,
    linestyle: LINESTYLE_SOLID,
    showTime: true
},
linetoolcirclelines: {
    trendline: {
        visible: true,
        color: 'rgba( 128, 128, 128, 1)',
        linewidth: 1.0,
        linestyle: LINESTYLE_DASHED
    },
    linecolor: 'rgba( 128, 204, 219, 1)',
    linewidth: 1.0,
    linestyle: LINESTYLE_SOLID
},
linetoolfibtimezone: {
    horzLabelsAlign: 'right',
    vertLabelsAlign: 'bottom',
    baselinecolor: 'rgba( 128, 128, 128, 1)',
    linecolor: 'rgba( 0, 85, 219, 1)',
    linewidth: 1.0,
    linestyle: LINESTYLE_SOLID,
    showLabels: true,
    font: 'Verdana',
    fillBackground:false,
    transparency:80,
    trendline: {
        visible: true,
        color: 'rgba( 128, 128, 128, 1)',
        linewidth: 1.0,
        linestyle: LINESTYLE_DASHED
    },
    level1-11: LEVELS_TYPE_C
},
linetooltext: {
    color: 'rgba( 102, 123, 139, 1)',
    text: $.t('Text'),
    font: 'Verdana',
    fontsize: 20,
    fillBackground: false,
    backgroundColor: 'rgba( 91, 133, 191, 0.9)',
    backgroundTransparency: 70,
    drawBorder: false,
    borderColor: 'rgba( 102, 123, 139, 1)',
    bold:false,
    italic:false,
    locked: false,
    fixedSize: true,
    wordWrap: false,
    wordWrapWidth: 400
},
linetooltextabsolute: {
    singleChartOnly: true,
    color: 'rgba( 102, 123, 139, 1)',
    text: $.t('Text'),
    font: 'Verdana',
    fontsize: 20,
    fillBackground: false,
    backgroundColor: 'rgba( 155, 190, 213, 0.3)',
    backgroundTransparency: 70,
    drawBorder: false,
    borderColor: 'rgba( 102, 123, 139, 1)',
    bold: false,
    italic: false,
    locked: true,
    wordWrap: false,
    wordWrapWidth: 400
},
linetoolballoon: {
    color: 'rgba( 102, 123, 139, 1)',
    backgroundColor: 'rgba( 255, 254, 206, 0.7)',
    borderColor: 'rgba( 140, 140, 140, 1)',
    fontWeight: 'bold',
    fontsize: 12,
    font: 'Arial',
    transparency: 30,
    text: $.t('Comment')
},
linetoolbrush: {
    linecolor: 'rgba( 53, 53, 53, 1)',
    linewidth: 2.0,
    smooth:5,
    fillBackground: false,
    backgroundColor: 'rgba( 21, 56, 153, 0.5)',
    transparency: 50,
    leftEnd: LINEEND_NORMAL,
    rightEnd: LINEEND_NORMAL
},
linetoolpolyline: {
    linecolor: 'rgba( 53, 53, 53, 1)',
    linewidth: 2.0,
    linestyle: LINESTYLE_SOLID,
    fillBackground: true,
    backgroundColor: 'rgba( 21, 56, 153, 0.5)',
    transparency: 50,
    filled: false
},
linetoolarrowmark: {
    color: 'rgba( 120, 120, 120, 1)',
    text: '',
    fontsize: 20,
    font: 'Verdana'
},
linetoolarrowmarkleft: {
    color: 'rgba( 120, 120, 120, 1)',
    text: '',
    fontsize: 20,
    font: 'Verdana'
},
linetoolarrowmarkup: {
    color: 'rgba( 120, 120, 120, 1)',
    text: '',
    fontsize: 20,
    font: 'Verdana'
},
linetoolarrowmarkright: {
    color: 'rgba( 120, 120, 120, 1)',
    text: '',
    fontsize: 20,
    font: 'Verdana'
},
linetoolarrowmarkdown: {
    color: 'rgba( 120, 120, 120, 1)',
    text: '',
    fontsize: 20,
    font: 'Verdana'
},
linetoolflagmark: {
    color: 'rgba( 255, 0, 0, 1)'
},

linetoolnote: {
    markerColor: 'rgba( 46, 102, 255, 1)',
    textColor: 'rgba( 0, 0, 0, 1)',
    backgroundColor: 'rgba( 255, 255, 255, 1)',
    backgroundTransparency: 0,
    text: 'Text',
    font: 'Arial',
    fontSize: 12,
    bold: false,
    italic: false,
    locked: false,
    fixedSize: true
},

linetoolnoteabsolute: {
    singleChartOnly: true,
    markerColor: 'rgba( 46, 102, 255, 1)',
    textColor: 'rgba( 0, 0, 0, 1)',
    backgroundColor: 'rgba( 255, 255, 255, 1)',
    backgroundTransparency: 0,
    text: 'Text',
    font: 'Arial',
    fontSize: 12,
    bold: false,
    italic: false,
    locked: true,
    fixedSize: true
},

linetoolthumbup: {
    color: 'rgba( 0, 128, 0, 1)'
},
linetoolthumbdown: {
    color: 'rgba( 255, 0, 0, 1)'
},
linetoolpricelabel: {
    color: 'rgba( 102, 123, 139, 1)',
    backgroundColor: 'rgba( 255, 255, 255, 0.7)',
    borderColor: 'rgba( 140, 140, 140, 1)',
    fontWeight: 'bold',
    fontsize: 11,
    font: 'Arial',
    transparency: 30
},
linetoolrectangle: {
    color: 'rgba( 21, 56, 153, 1)',
    fillBackground: true,
    backgroundColor: 'rgba( 21, 56, 153, 0.5)',
    linewidth: 1.0,
    snapTo45Degrees:true,
    transparency: 50
},
linetoolrotatedrectangle: {
    color: 'rgba( 152, 0, 255, 1)',
    fillBackground: true,
    backgroundColor: 'rgba( 142, 124, 195, 0.5)',
    transparency: 50,
    linewidth: 1.0,
    snapTo45Degrees:true
},
linetoolellipse: {
    color: 'rgba( 153, 153, 21, 1)',
    fillBackground: true,
    backgroundColor: 'rgba( 153, 153, 21, 0.5)',
    transparency: 50,
    linewidth: 1.0
},
linetoolarc: {
    color: 'rgba( 153, 153, 21, 1)',
    fillBackground: true,
    backgroundColor: 'rgba( 153, 153, 21, 0.5)',
    transparency: 50,
    linewidth: 1.0
},
linetoolprediction: {
    singleChartOnly: true,
    linecolor: 'rgba( 28, 115, 219, 1)',
    linewidth: 2.0,

    sourceBackColor: 'rgba( 241, 241, 241, 1)',
    sourceTextColor: 'rgba( 110, 110, 110, 1)',
    sourceStrokeColor: 'rgba( 110, 110, 110, 1)',

    targetStrokeColor:'rgba( 47, 168, 255, 1)',
    targetBackColor:'rgba( 11, 111, 222, 1)',
    targetTextColor: 'rgba( 255, 255, 255, 1)',

    successBackground: 'rgba( 54, 160, 42, 0.9)',
    successTextColor: 'rgba( 255, 255, 255, 1)',

    failureBackground: 'rgba( 231, 69, 69, 0.5)',
    failureTextColor: 'rgba( 255, 255, 255, 1)',

    intermediateBackColor: 'rgba( 234, 210, 137, 1)',
    intermediateTextColor: 'rgba( 109, 77, 34, 1)',

    transparency: 10,
    centersColor: 'rgba( 32, 32, 32, 1)'
},
linetooltriangle: {
    color: 'rgba( 153, 21, 21, 1)',
    fillBackground: true,
    backgroundColor: 'rgba( 153, 21, 21, 0.5)',
    transparency: 50,
    linewidth: 1.0
},
linetoolcallout: {
    color: 'rgba( 255, 255, 255, 1)',
    backgroundColor: 'rgba( 153, 21, 21, 0.5)',
    transparency: 50,
    linewidth: 2.0,
    fontsize: 12,
    font:'Verdana',
    text: 'Text',
    bordercolor: 'rgba( 153, 21, 21, 1)',
    bold: false,
    italic: false,
    wordWrap: false,
    wordWrapWidth: 400
},
linetoolparallelchannel: {
    linecolor: 'rgba( 119, 52, 153, 1)',
    linewidth: 1.0,
    linestyle: LINESTYLE_SOLID,
    extendLeft: false,
    extendRight: false,
    fillBackground: true,
    backgroundColor: 'rgba( 180, 167, 214, 0.5)',
    transparency: 50,
    showMidline: false,
    midlinecolor: 'rgba( 119, 52, 153, 1)',
    midlinewidth: 1.0,
    midlinestyle: LINESTYLE_DASHED
},
linetoolelliottimpulse: {
    degree: 7,
    showWave:true,
    color: 'rgba( 61, 133, 198, 1)',
    linewidth: 1
},
linetoolelliotttriangle: {
    degree: 7,
    showWave:true,
    color: 'rgba( 255, 152, 0, 1)',
    linewidth: 1
},
linetoolelliotttriplecombo: {
    degree: 7,
    showWave:true,
    color: 'rgba( 106, 168, 79, 1)',
    linewidth: 1
},
linetoolelliottcorrection: {
    degree: 7,
    showWave:true,
    color: 'rgba( 61, 133, 198, 1)',
    linewidth: 1
},
linetoolelliottdoublecombo: {
    degree: 7,
    showWave:true,
    color: 'rgba( 106, 168, 79, 1)',
    linewidth: 1
},
linetoolbarspattern: {
    singleChartOnly: true,
    color:'rgba( 80, 145, 204, 1)',
    mode:BARS_MODE,
    mirrored:false,
    flipped:false
},
linetoolghostfeed: {
    singleChartOnly: true,
    averageHL: 20,
    variance: 50,
    candleStyle: {
        upColor: '#6ba583',
        downColor: '#d75442',
        drawWick: true,
        drawBorder: true,
        borderColor: '#378658',
        borderUpColor: '#225437',
        borderDownColor: '#5b1a13',
        wickColor: '#737375'
    },
    transparency: 50
},
linetoolpitchfork: {
    fillBackground:true,
    transparency:80,
    style:PITCHFORK_STYLE_ORIGINAL,
    median: {
        visible: true,
        color: 'rgba( 165, 0, 0, 1)',
        linewidth: 1.0,
        linestyle: LINESTYLE_SOLID
    },
    level0-8: LEVELS_TYPE_C
},
linetoolpitchfan: {
    fillBackground:true,
    transparency:80,
    median: {
        visible: true,
        color: 'rgba( 165, 0, 0, 1)',
        linewidth: 1.0,
        linestyle: LINESTYLE_SOLID
    },
    level0-8: LEVELS_TYPE_C
},
linetoolgannfan: {
    showLabels: true,
    font: 'Verdana',
    fillBackground:true,
    transparency:80,
    level1-9: LEVELS_TYPE_F
},
linetoolganncomplex: {
    fillBackground:false,
    arcsBackground: {
        fillBackground: true,
        transparency: 80
    },
    levels: [/* 6 LEVELS_TYPE_D */],
    fanlines: [/* 11 LEVELS_TYPE_E */],
    arcs: [/* 11 LEVELS_TYPE_E */]
},
linetoolgannsquare: {
    color: 'rgba( 21, 56, 153, 0.8)',
    linewidth: 1.0,
    linestyle: LINESTYLE_SOLID,
    font: 'Verdana',
    showTopLabels:true,
    showBottomLabels:true,
    showLeftLabels:true,
    showRightLabels:true,
    fillHorzBackground:true,
    horzTransparency:80,
    fillVertBackground:true,
    vertTransparency:80,
    hlevel1-7: LEVELS_TYPE_B,
    vlevel1-7: LEVELS_TYPE_B
},
linetoolfibspeedresistancefan: {
    fillBackground:true,
    transparency:80,
    grid: {
        color: 'rgba( 128, 128, 128, 1)',
        linewidth: 1.0,
        linestyle: LINESTYLE_SOLID,
        visible:true
    },
    linewidth: 1.0,
    linestyle: LINESTYLE_SOLID,
    font: 'Verdana',
    showTopLabels:true,
    showBottomLabels:true,
    showLeftLabels:true,
    showRightLabels:true,
    snapTo45Degrees:true,
    hlevel1-7: LEVELS_TYPE_B,
    vlevel1-7: LEVELS_TYPE_B
},
linetoolfibretracement: {
    showCoeffs: true,
    showPrices: true,
    font: 'Verdana',
    fillBackground:true,
    transparency:80,
    extendLines:false,
    horzLabelsAlign: 'left',
    vertLabelsAlign: 'middle',
    reverse:false,
    coeffsAsPercents:false,
    trendline: {
        visible: true,
        color: 'rgba( 128, 128, 128, 1)',
        linewidth: 1.0,
        linestyle: LINESTYLE_DASHED
    },
    levelsStyle: {
        linewidth: 1.0,
        linestyle: LINESTYLE_SOLID
    },
    level1-24: LEVELS_TYPE_B
},
linetoolfibchannel: {
    showCoeffs: true,
    showPrices: true,
    font: 'Verdana',
    fillBackground:true,
    transparency:80,
    extendLeft:false,
    extendRight:false,
    horzLabelsAlign: 'left',
    vertLabelsAlign: 'middle',
    coeffsAsPercents:false,
    levelsStyle: {
        linewidth: 1.0,
        linestyle: LINESTYLE_SOLID
    },
    level1-24:  LEVELS_TYPE_B
},
linetoolprojection: {
    showCoeffs: true,
    font: 'Verdana',
    fillBackground:true,
    transparency:80,
    color1: 'rgba( 0, 128, 0, 0.2)',
    color2: 'rgba( 255, 0, 0, 0.2)',
    linewidth: 1.0,
    trendline: {
        visible: true,
        color: 'rgba( 128, 128, 128, 1)',
        linestyle: LINESTYLE_SOLID
    },
    level1: LEVELS_TYPE_C
},
linetool5pointspattern: {
    color: 'rgba( 204, 40, 149, 1)',
    textcolor: 'rgba( 255, 255, 255, 1)',
    fillBackground: true,
    backgroundColor: 'rgba( 204, 40, 149, 0.5)',
    font: 'Verdana',
    fontsize:12,
    bold:false,
    italic:false,
    transparency: 50,
    linewidth: 1.0
},
linetoolcypherpattern: {
    color: '#CC2895',
    textcolor: '#FFFFFF',
    fillBackground: true,
    backgroundColor: '#CC2895',
    font: 'Verdana',
    fontsize:12,
    bold:false,
    italic:false,
    transparency: 50,
    linewidth: 1.0
},
linetooltrianglepattern: {
    color: 'rgba( 149, 40, 255, 1)',
    textcolor: 'rgba( 255, 255, 255, 1)',
    fillBackground: true,
    backgroundColor: 'rgba( 149, 40, 204, 0.5)',
    font: 'Verdana',
    fontsize:12,
    bold:false,
    italic:false,
    transparency: 50,
    linewidth: 1.0
},
linetoolabcd: {
    color: 'rgba( 0, 155, 0, 1)',
    textcolor: 'rgba( 255, 255, 255, 1)',
    font: 'Verdana',
    fontsize:12,
    bold:false,
    italic:false,
    linewidth: 2.0
},
linetoolthreedrivers: {
    color: 'rgba( 149, 40, 255, 1)',
    textcolor: 'rgba( 255, 255, 255, 1)',
    fillBackground: true,
    backgroundColor: 'rgba( 149, 40, 204, 0.5)',
    font: 'Verdana',
    fontsize:12,
    bold:false,
    italic:false,
    transparency: 50,
    linewidth: 2.0
},
linetoolheadandshoulders: {
    color: 'rgba( 69, 104, 47, 1)',
    textcolor: 'rgba( 255, 255, 255, 1)',
    fillBackground: true,
    backgroundColor: 'rgba( 69, 168, 47, 0.5)',
    font: 'Verdana',
    fontsize:12,
    bold:false,
    italic:false,
    transparency: 50,
    linewidth: 2.0
},
linetoolfibwedge: {
    singleChartOnly: true,
    showCoeffs: true,
    font: 'Verdana',
    fillBackground:true,
    transparency:80,
    trendline: {
        visible: true,
        color: 'rgba( 128, 128, 128, 1)',
        linewidth: 1.0,
        linestyle: LINESTYLE_SOLID
    },
    level1-11: LEVELS_TYPE_C
},
linetoolfibcircles: {
    showCoeffs: true,
    font: 'Verdana',
    fillBackground:true,
    transparency:80,
    snapTo45Degrees:true,
    coeffsAsPercents:false,
    trendline: {
        visible: true,
        color: 'rgba( 128, 128, 128, 1)',
        linewidth: 1.0,
        linestyle: LINESTYLE_DASHED
    },
    level1-11: LEVELS_TYPE_C
},
linetoolfibspeedresistancearcs: {
    showCoeffs: true,
    font: 'Verdana',
    fillBackground:true,
    transparency:80,
    fullCircles: false,
    trendline: {
        visible: true,
        color: 'rgba( 128, 128, 128, 1)',
        linewidth: 1.0,
        linestyle: LINESTYLE_DASHED
    },
    level1-11: LEVELS_TYPE_C
},
linetooltrendbasedfibextension: {
    showCoeffs: true,
    showPrices: true,
    font: 'Verdana',
    fillBackground:true,
    transparency:80,
    extendLines:false,
    horzLabelsAlign: 'left',
    vertLabelsAlign: 'middle',
    reverse:false,
    coeffsAsPercents:false,
    trendline: {
        visible: true,
        color: 'rgba( 128, 128, 128, 1)',
        linewidth: 1.0,
        linestyle: LINESTYLE_DASHED
    },
    levelsStyle: {
        linewidth: 1.0,
        linestyle: LINESTYLE_SOLID
    },
    level1-24: LEVELS_TYPE_B
},
linetooltrendbasedfibtime: {
    showCoeffs: true,
    font: 'Verdana',
    fillBackground:true,
    transparency:80,
    horzLabelsAlign: 'right',
    vertLabelsAlign: 'bottom',
    trendline: {
        visible: true,
        color: 'rgba( 128, 128, 128, 1)',
        linewidth: 1.0,
        linestyle: LINESTYLE_DASHED
    },
    level1-11: LEVELS_TYPE_C
},
linetoolschiffpitchfork: {
    fillBackground:true,
    transparency:80,
    style:PITCHFORK_STYLE_SCHIFF,
    median: {
        visible: true,
        color: 'rgba( 165, 0, 0, 1)',
        linewidth: 1.0,
        linestyle: LINESTYLE_SOLID
    },
    level0-8: LEVELS_TYPE_C
},
linetoolschiffpitchfork2: {
    fillBackground:true,
    transparency:80,
    style:PITCHFORK_STYLE_SCHIFF2,
    median: {
        visible: true,
        color: 'rgba( 165, 0, 0, 1)',
        linewidth: 1.0,
        linestyle: LINESTYLE_SOLID
    },
    level0-8: LEVELS_TYPE_C
},
linetoolinsidepitchfork: {
    fillBackground:true,
    transparency:80,
    style:PITCHFORK_STYLE_INSIDE,
    median: {
        visible: true,
        color: 'rgba( 165, 0, 0, 1)',
        linewidth: 1.0,
        linestyle: LINESTYLE_SOLID
    },
    level0-8: LEVELS_TYPE_C
},
linetoolvisibilities: {
    intervalsVisibilities: {
        seconds:true,
        secondsFrom:1,
        secondsTo:59,
        minutes:true,
        minutesFrom:1,
        minutesTo:59,
        hours:true,
        hoursFrom:1,
        hoursTo:24,
        days:true,
        daysFrom:1,
        daysTo:366,
        weeks:true,
        months:true
    }
}

Constants

These constants are used in the drawings defaults. You cannot use their names directly. Use the values instead.

LINESTYLE_SOLID = 0;
LINESTYLE_DOTTED = 1;
LINESTYLE_DASHED = 2;
LINESTYLE_LARGE_DASHED = 3;

LINEEND_NORMAL = 0;
LINEEND_ARROW  = 1;
LINEEND_CIRCLE = 2;

BARS_MODE = 0;
LINE_MODE = 1;
OPENCLOSE_MODE = 2;
LINEOPEN_MODE = 3;
LINEHIGH_MODE = 4;
LINELOW_MODE = 5;
LINEHL2_MODE = 6;

PITCHFORK_STYLE_ORIGINAL = 0;
PITCHFORK_STYLE_SCHIFF = 1;
PITCHFORK_STYLE_SCHIFF2 = 2;
PITCHFORK_STYLE_INSIDE = 3;

LEVELS_TYPE_A = {
    color: color,
    visible: visible
};

LEVELS_TYPE_B = {
    coeff: coeff,
    color: color,
    visible: visible
};

LEVELS_TYPE_C = {
    coeff: coeff,
    color: color,
    visible: visible,
    linestyle: linestyle,
    linewidth: linewidth
};

LEVELS_TYPE_D = {
    color: color,
    width: width,
    visible: visible
};

LEVELS_TYPE_E = {
    color: color,
    visible: visible,
    width: width,
    x: x,
    y: y
};

LEVELS_TYPE_F = {
    coeff1: coeff1,
    coeff2: coeff2,
    color: color,
    visible: visible,
    linestyle: linestyle,
    linewidth: linewidth
};
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末茂洒,一起剝皮案震驚了整個(gè)濱河市舷暮,隨后出現(xiàn)的幾起案子杏节,更是在濱河造成了極大的恐慌谴麦,老刑警劉巖热押,帶你破解...
    沈念sama閱讀 218,451評(píng)論 6 506
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件阵苇,死亡現(xiàn)場(chǎng)離奇詭異轮纫,居然都是意外死亡,警方通過(guò)查閱死者的電腦和手機(jī)洪添,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,172評(píng)論 3 394
  • 文/潘曉璐 我一進(jìn)店門垦页,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái),“玉大人干奢,你說(shuō)我怎么就攤上這事痊焊。” “怎么了?”我有些...
    開(kāi)封第一講書人閱讀 164,782評(píng)論 0 354
  • 文/不壞的土叔 我叫張陵薄啥,是天一觀的道長(zhǎng)貌矿。 經(jīng)常有香客問(wèn)我,道長(zhǎng)罪佳,這世上最難降的妖魔是什么逛漫? 我笑而不...
    開(kāi)封第一講書人閱讀 58,709評(píng)論 1 294
  • 正文 為了忘掉前任,我火速辦了婚禮赘艳,結(jié)果婚禮上酌毡,老公的妹妹穿的比我還像新娘。我一直安慰自己蕾管,他們只是感情好枷踏,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,733評(píng)論 6 392
  • 文/花漫 我一把揭開(kāi)白布。 她就那樣靜靜地躺著掰曾,像睡著了一般旭蠕。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上旷坦,一...
    開(kāi)封第一講書人閱讀 51,578評(píng)論 1 305
  • 那天掏熬,我揣著相機(jī)與錄音,去河邊找鬼秒梅。 笑死旗芬,一個(gè)胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的捆蜀。 我是一名探鬼主播疮丛,決...
    沈念sama閱讀 40,320評(píng)論 3 418
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼辆它!你這毒婦竟也來(lái)了誊薄?” 一聲冷哼從身側(cè)響起,我...
    開(kāi)封第一講書人閱讀 39,241評(píng)論 0 276
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤锰茉,失蹤者是張志新(化名)和其女友劉穎呢蔫,沒(méi)想到半個(gè)月后,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體洞辣,經(jīng)...
    沈念sama閱讀 45,686評(píng)論 1 314
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡咐刨,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,878評(píng)論 3 336
  • 正文 我和宋清朗相戀三年昙衅,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了扬霜。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 39,992評(píng)論 1 348
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡而涉,死狀恐怖著瓶,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情啼县,我是刑警寧澤材原,帶...
    沈念sama閱讀 35,715評(píng)論 5 346
  • 正文 年R本政府宣布沸久,位于F島的核電站,受9級(jí)特大地震影響余蟹,放射性物質(zhì)發(fā)生泄漏卷胯。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,336評(píng)論 3 330
  • 文/蒙蒙 一威酒、第九天 我趴在偏房一處隱蔽的房頂上張望窑睁。 院中可真熱鬧,春花似錦葵孤、人聲如沸担钮。這莊子的主人今日做“春日...
    開(kāi)封第一講書人閱讀 31,912評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)箫津。三九已至,卻和暖如春宰啦,著一層夾襖步出監(jiān)牢的瞬間苏遥,已是汗流浹背。 一陣腳步聲響...
    開(kāi)封第一講書人閱讀 33,040評(píng)論 1 270
  • 我被黑心中介騙來(lái)泰國(guó)打工赡模, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留暖眼,地道東北人。 一個(gè)月前我還...
    沈念sama閱讀 48,173評(píng)論 3 370
  • 正文 我出身青樓纺裁,卻偏偏與公主長(zhǎng)得像诫肠,于是被迫代替她去往敵國(guó)和親。 傳聞我的和親對(duì)象是個(gè)殘疾皇子欺缘,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,947評(píng)論 2 355

推薦閱讀更多精彩內(nèi)容