如何删除jquery highcharts烛台显示系列中的未知文本

时间:2015-09-09 12:18:20

标签: javascript jquery highcharts

我正在尝试删除高图 烛台

中的未知文字格式

enter image description here

这是我的错误文字â•â€,

我的代码是

              xAxis : {
                    "gridLineWidth": 1,
                    startOfWeek: 2,
                    //min: 24 * 3600 * 1000 // interval of 1 day,
                    //pointInterval: 24 * 3600 * 1000 // interval of 1 day
                    tickInterval: 24 * 3600 * 1000,


                    plotLines : [{
                        value : plot_start,
                        color : '#3AE6FC',
                        dashStyle : 'solid',
                        width : 7,
                        label : {
                            text : plot_text,
                            rotation: 270,
                            align: 'right',
                            x:-7,
                            y:-0,
                            floating:true,
                            useHTML: true,
                            style : {
                                color:"yellow",
                                font: 'bold 15px "Trebuchet MS", Verdana, sans-serif',
                            },

                        }
                    },],


                    plotBands: [{ // visualize the weekend
                        from: plot_start,
                        to: data[data.length-1][0],
                        color: '#555555'
                    }],


                },//End x Axis


                rangeSelector : {
                    buttons : [/*{
                        type : 'day',
                        count : daysCount,
                        text : daysCountShow + 'D'
                    },*/],
                    selected : 0,
                    inputEnabled : false
                },

                navigator: {
                    enabled : false,
                },


                series : [{
                    name : (data[data.length-1][5]),
                    type: 'candlestick',
                    data : data,
                    tooltip: {
                        valueDecimals: 2
                    }
                }],

                plotOptions: {
                    series: {
                        dataLabels: {
                            color: '#698587'
                        },
                        marker: {
                            lineColor: '#333'
                        }
                    },
                    boxplot: {
                        fillColor: '#000000'
                    },
                    candlestick: {
                        lineColor: '#ffffff',
                        color: 'red',
                        upColor: '#7BFF00'
                    },
                    errorbar: {
                        color: 'white'
                    }
                },

0 个答案:

没有答案