Saving data from the d3.js ajaxrequest in a variable to create axis with data

后端 未结 2 925
眼角桃花
眼角桃花 2021-01-26 02:39

I read a lot of posts here about how to save my data in a variable. To do so I created the global variable \"arraydates\". It needs to be in an array to be used for the axis tic

2条回答
  •  抹茶落季
    2021-01-26 03:07

    Both suggestions are usefull for my situation, but also I have to add that I have several ajax-requests in my code and kind of wanted to clean it up rather than nesting several requests, but now it´s working fine. Thanks!

提交回复
热议问题