Home Forums Chart Support Bubble chart

Bubble chart

Viewing 2 posts - 1 through 2 (of 2 total)
  • #33716

    How do we display name next to the marker in bubble chart.

    Tejwant Navalkar

    #33751

    @tmndfx,

    You can use indexLabel property to display text inside the dataPoint in a bubble chart. Although, it is not possible to display the text next to the marker as of now.

    Please take a look at this code-snippet for the same,

    data: [{
       type: "bubble",
       dataPoints: [
           { x: 10, y: 71, z: 43 },
           { x: 20, y: 55, z: 23 },
           { x: 30, y: 50, z: 25 },
           { x: 40, y: 65, z: 34 },
           { x: 50, y: 85, z: 78, indexLabel: "HIGH" },
           { x: 60, y: 68, z: 54 },
           { x: 90, y: 14, z: 12, indexLabel: "LOW" }
       ]
      }
    ]

    Bubble chart with indexLabels
    ___________
    Adithya Menon
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.