Home forums Report Bugs stackedColumn – indexLabel not shown with single alone data

This topic contains 2 replies, has 2 voices, and was last updated by  hoho 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #11471

    hoho
    Member

    Hi team,

    For example,

    { type: “stackedColumn”, color: “#90CC1B”, name: “Name1”, showInLegend: true,
    click: onClick_chart_users, dataPoints: $dataPoints },
    { type: “stackedColumn”, color: “#3498DB”, name: “Name2”, showInLegend: true,
    indexLabel: “#total”, indexLabelPlacement: “outside”,
    click: onClick_chart_exusers, dataPoints: $dataPoints2 },

    if $dataPoints (column 1) has [ x: 10, y: 100]
    but $dataPoints2 (column 2) doesn’t have x: 10.

    The indexLabel will not be shown on top of stackedCloumn, because “column 2” is missing data.

    #11478

    Vishwas R
    Keymaster

    As of now, indexLabels are not shown for null dataPoints. As its hard to determine where to position indexLabel in line charts when dataPoint is null, we go with this behavior. As a work around, you can set y value to zero and show indexLabels.

    #11480

    hoho
    Member

    Vishwas,

    Thanks for prompt reply. Yeah, I need to figure out a way to set it to 0. (It’s difficult for both sides, hence I came to report this “bug”) 😀

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

You must be logged in to reply to this topic.