1

I'm trying to use vis.js in javascript. I have successfully displayed a graph3d. But, when i'm trying to add a graph 2d (the first graph2d showed as example on visjs website) it doesn't display correctly and i have this warning : "Something is wrong with the Timeline scale. Limited drawing of grid lines to 1000 lines."

Thanks for you help, Ludo

Ludo Lac
  • 11
  • 2
  • I guess you run into http://stackoverflow.com/questions/36564122/angular-2-svg-css-rendering-differently-inside-component but your question doesn't provide enough information to know. I don't know Graph2d. – Günter Zöchbauer Apr 21 '16 at 09:34
  • I just have copy/paste this example from : http://visjs.org/graph2d_examples.html – Ludo Lac Apr 21 '16 at 09:39
  • This is a better link http://stackoverflow.com/questions/36265026/angular-2-innerhtml-styling. – Günter Zöchbauer Apr 21 '16 at 09:42
  • Can you creat a Plunker that allows to reproduce? https://plnkr.co/edit/zE3Byu?p=info – Günter Zöchbauer Apr 21 '16 at 09:45
  • I'm not an expert i don't know how to reproduce it with a Plunker. To sum up : I have installed the library vis.js. I'm trying to use one of its functions to display a 2d graph. The graph appears but the axis are not at the right place and the curve is out of my screen. – Ludo Lac Apr 21 '16 at 11:50
  • you might need to import css for the library if you didn't – canbax Apr 16 '19 at 07:05

0 Answers0