Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-2252

Discreteness of line charts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • front-end
    • None

    Description

      spark interpreter

      var text = """g1,1
      g1,1
      g1,2
      g1,3
      g1,5
      g1,5
      g2,1
      g2,1
      g2,2
      g2,2
      g2,6
      g2,6
      g2,7
      g2,7
      g2,7"""
      
      val array = sc.parallelize(text.split("\n"))
      
      case class Line(group: String, value: Integer)
      
      val line = array.map(s => s.split(",")).map(
          s => Line(s(0), 
                  s(1).toInt
              )
      ).toDF()
      line.registerTempTable("lines")
      

      Generate charts

      %sql
      select *from lines
      

      The line is drawn where there is no data, but the default code is set to 0 (for Y)

      Attachments

        1. 2.png
          29 kB
          Tinkoff DWH

        Issue Links

          Activity

            People

              tinkoff-dwh Tinkoff DWH
              tinkoff-dwh Tinkoff DWH
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: