我在highcharts中遇到麻烦的气泡值。如何按默认值显示系列

时间:2017-02-23 04:32:26

标签: javascript highcharts highstock

我在highcharts中遇到麻烦的气泡值。如何按默认值显示系列

我希望在bubble中默认值显示。当我在泡泡中徘徊显示系列值,但我想默认显示系列值这是可能的。?

https://jsfiddle.net/Kondaldurgam/q734jr5t/

module Parser

    def parse(file:file)
      zip_file = Zip::File.open(file) 
    end

    def remove_bookmarks(file: file)
      file.at("//w:bookmarkStart").remove if file.at("//w:bookmarkStart")
      file.at("//w:bookmarkEnd").remove if file.at("//w:bookmarkEnd")
    end

    def proofread(file: file)
       text(@file, filter: 'del')
    end

    def original(file: file)
      text(@file)
    end

    def paragraphs(file: file)
     file.xpath('//w:p[w:ins or w:del]')
    end 

    def text(file: file, filter: 'ins')
      xpath("//text()[not(ancestor::w:#{filter})]").map(&:text).join("")
    end

end

1 个答案:

答案 0 :(得分:0)

使用数据表

在图表中添加绘图选项

Fiddle link

plotOptions: {
    bubble: {
        dataLabels: {
            enabled: true,
            x:40,/*shifting values to right side*/
            format: '({point.x},{point.y})<br>Size:{point.z}'
        },
    }
},