Skip to content

Error: Invalid value for <text> attribute x="NaN" #328

@davidmir

Description

@davidmir

Hi,

I am getting the following error using a nvd3-multi-bar-chart when I only have one column on the chart: Error: Invalid value for attribute x="NaN"

This is my HTML code:


My chart values are defined has:

$scope.toChart = [
{
"id" : 0,
"key" : "Series 1",
"values" : [ ["A", 10] ]
}
]

Is this a bug? Or a chart with one column is a specific case?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions