# Timeseries refusing to show data on graph

**URL:** https://community.plotly.com/t/timeseries-refusing-to-show-data-on-graph/23147
**Category:** plotly.js
**Created:** [May 7, 2019, 1:30am UTC](https://community.plotly.com/t/timeseries-refusing-to-show-data-on-graph/23147 "2019-05-07T01:30:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Mrob](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@Mrob](https://community.plotly.com/u/Mrob)
#### Post date: [May 7, 2019, 1:30am UTC](https://community.plotly.com/t/timeseries-refusing-to-show-data-on-graph/23147/1 "2019-05-07T01:30:11Z")

</div>

I have been struggling with this one point in my school project for a couple of days now. When I go to enter the x-values and y-values into the “line” variable, i do so however nothing is displayed on the graph. I have already tested all my functions to ensure that they work and are working properly, so I know that they are not the problem. I am getting my values from an api, here is the url:  
[https://api.blockchain.info/charts/market-price?timespan=2year&daysAverageString=14&format=json](https://api.blockchain.info/charts/market-price?timespan=2year&daysAverageString=14&format=json)

When i manually type in values for the x and y (such as x:[1,2,3] y:[4,5,6]) the graph displays a line but not with my actual arrays. I have checked that I am actually getting the api and needed values from the api and I am. I just have no clue why the graph is not displaying any information. I am able to use another visualization perfectly fine (pie chart) but this timeseries seems to be the bane of me. I appreciate all and any help.

pics for reference:

 ![pic1](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/1/103c2dbbbd6d04fcbb457f24d117bf9d4d7fb22b.png) ![pic2](https://us1.discourse-cdn.com/flex024/uploads/plot/original/2X/2/26247dd17985a8c7aa7af5f948d413f283cf5a76.png)

edit1: I did try using a smaller total number of values and still even then im not getting any response. originally i was using approx. 1300 values and even when i stooped down to ~200 nothing changed.

edit2/UPDATE: I was able to get it to work!!! Instead of creating the arrays of x and y values in my js files, i had to create it in my python files and then parse over the pre-made arrays to be used.
