I am trying to bind c3-chart in my web application using node.js and express. But the c3.js file gives following error message:
TypeError: d3.scale is undefined
Below is my layout.yade file:
doctype html
html
head
title= title
link(rel='stylesheet', href='http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.css')
link(rel='stylesheet', href='/stylesheets/c3.css')
link(rel='stylesheet', href='/stylesheets/style.css')
script(src='http://cdn.leafletjs.com/leaflet/v0.7.7/leaflet.js')
script(src='/javascripts/leaflet.ajax.js')
script(src='http://d3js.org/d3.v3.min.js')
script(src='/javascripts/c3.min.js')
script(src='/javascripts/jquery.js')
body
block content
via lazzat
No comments:
Post a Comment