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

[Bug] Chartist responsive options not passed to chart init function #103

Closed
thaddeus opened this issue Jan 18, 2020 · 1 comment
Closed
Labels
bug Something isn't working FIXED

Comments

@thaddeus
Copy link

Version

1.3.2

Reproduction link

https://demos.creative-tim.com/vue-material-dashboard-pro/#/dashboard

Operating System

Any

Device

Any

Browser & Version

Any

Steps to reproduce

  1. Create a chart-card and add responsive options as an attribute.
  2. Responsive options will not apply to the Chartist chart

What is expected?

initChart(Chartist) {
var chartIdQuery = #${this.chartId};
Chartist[this.chartType](chartIdQuery, this.chartData, this.chartOptions, this.chartResponsiveOptions, this.chartAnimation);
},

What is actually happening?

initChart(Chartist) {
var chartIdQuery = #${this.chartId};
Chartist[this.chartType](chartIdQuery, this.chartData, this.chartOptions, this.chartAnimation);
},


Solution

Add "this.chartResponsiveOptions," to Chartist init

Additional comments

@dragosct
Copy link
Member

Hi, @thaddeus! Thank you for using our products and sorry for the late response. We will analyze the code and if it's all good we will implement this in the next update.

Regards,
Dragos

@dragosct dragosct added bug Something isn't working FIXED labels Jan 21, 2020
@sajadevo sajadevo closed this as completed Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working FIXED
Projects
None yet
Development

No branches or pull requests

3 participants