Home Forums Chart Support Scatter Chart – Label Position

Scatter Chart – Label Position

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

    Hi.
    We´re tring CanvasJS Scatter Chart, and the label are positioned over the point. Is there an way to display it over or aside the point ?

    This is the code:
    ——————————————————————————-
    data: [
    {
    type: “scatter”,
    //legendText: “Companies”,
    showInLegend: true,
    legendMarkerType: “point”,
    toolTipContent: “{name} <br/> Cheapness: {y}<br/> High Leverage: {x} “,
    indexLabel: “{name}”,
    indexLabelFontSize: 10,
    indexLabelPlacement: “outside”,
    indexLabelOrientation: “horizontal”,
    dataPoints: [
    { x: 1.5, y: 0, name: “Alpargatas”},
    { x: 4, y: 2, name: “Alsea”},
    { x: 2, y: -2, name: “Ambev”},
    { x: 3, y: 1, name: “America Movil”},
    { x: 4, y: -5, name: “Arco Educação”},
    { x: 4, y: 0, name: “Arezzo” },
    { x: 3, y: 0, name: “B2W” },
    { x: 4, y: 0, name: “Banco do Brasil”},
    { x: -2, y: 0, name: “Banco Inter”},
    { x: 2, y: 0, name: “Banrisul”},
    { x: 0.5, y: 0, name: “BB Seguridade” },
    { x: 0.5, y: 0, name: “BMF Bovespa” },
    { x: 3, y: 0, name: “Bolsa Mexicana”},
    { x: 3, y: 0, name: “BR Distribuidora”}

    ]
    }
    ]

    #32506

    @mblank,

    Sorry, it’s not possible to position indexLabel outside the dataPoints in case of a scatter chart as of now.


    Shashi Ranjan
    Team CanvasJS

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

You must be logged in to reply to this topic.