Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Populate charts with response from an API #14

Open
edu1525 opened this issue Apr 11, 2019 · 1 comment
Open

Populate charts with response from an API #14

edu1525 opened this issue Apr 11, 2019 · 1 comment

Comments

@edu1525
Copy link

edu1525 commented Apr 11, 2019

I'm trying to populate charts with data from an API response, but its not creating the chart lines.
My request looks like:

  let monthArrestsResponse = await this.api.reqWithToken('get-dash-arrest-month', null, null, 'GET');
  this.monthArrestsType = monthArrestsResponse.type;
  this.monthArrestsCategory = monthArrestsResponse.category;
  this.monthArrestsTitle = monthArrestsResponse.title;
  this.monthArrestsValues = monthArrestsResponse.values;
  this.monthArrestsLabels = monthArrestsResponse.labels;

and after the respponse I have just a blank chart.

@dragosct
Copy link
Member

dragosct commented Apr 12, 2019

Hi, @edu1525! Thank you for using our products. Unfortunately, we don't make the backend, we only work with the frontend, and we can't give you a piece of advice with this situation, but maybe some people from our community had the same issue like you and maybe will help you.

Regards,
Dragos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants