You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
all zero value in array i got some error "Uncaught TypeError: Cannot read property 'constructor' of null"
// sample data array
var sample_data = [
{"year": 1991, "name":"alpha", "value": 0},
{"year": 1992, "name":"alpha", "value": 0},
{"year": 1993, "name":"alpha", "value": 0},
{"year": 1994, "name":"alpha", "value": 0},
{"year": 1995, "name":"alpha", "value": 0}
]
// instantiate d3plus
var chartId = "chart1283";
var visualization = d3plus.viz()
.container("#" + chartId) // container DIV to hold the visualization
.data(sample_data) // data to use with the visualization
.type("line") // visualization type
.id("name") // key for which our data is unique on
.text("name") // key to use for display text
.y("value") // key to use for y-axis
.x("year") // key to use for x-axis
.height(500)
.draw() // finally, draw the visualization!
The text was updated successfully, but these errors were encountered:
all zero value in array i got some error "Uncaught TypeError: Cannot read property 'constructor' of null"
The text was updated successfully, but these errors were encountered: