def raw(chart: @chart, str: nil, file: nil, without_source: true, update: true)
      @raw = ""
      @raw = @raw + "source.onmessage = function(e) { json = JSON.parse(e.data);"
      return @raw if str.nil? and file.nil?
      @raw = @raw + str unless str.nil?
      @raw = @raw + File.readlines(file) unless file.nil?
      @rar = @raw + "#{chart}.update();" if update
      @raw = @raw + "};"
    end
def raw(chart: @chart, str: nil, file: nil, without_source: true, update: true)
      @raw = ""
      @raw = @raw + "source.onmessage = function(e) { json = JSON.parse(e.data);"
      return @raw if str.nil? and file.nil?
      @raw = @raw + str unless str.nil?
      @raw = @raw + File.readlines(file) unless file.nil?
      @rar = @raw + "#{chart}.update();" if update
      @raw = @raw + "};"
    end
def count(dataset: 0, chart: @chart, &block)
end