styd / apexcharts.rb

:bar_chart: Awesome charts for your ruby app powered by ApexCharts.JS.
https://a-styd.gitbook.io/apexcharts-ruby/
MIT License
481 stars 29 forks source link

[BUG] uninitialized constant ApexCharts::Helper::MixedCharts #49

Closed lepepe closed 4 years ago

lepepe commented 4 years ago

When trying to use combo/mixed chart I'm getting the following error: Screen Shot 2019-10-30 at 4 06 59 PM

Application js:

//= require apexcharts

Gemfile:

gem 'apexcharts', require: 'apexcharts/prefix_with_apex'

erb:

<%= apex_combo_charts({**options, theme: 'palette4', stacked: false, data_labels: false}) do %>
  <% line_chart(serie_one) %>
  <% column_chart(serie_two) %>
<% end %>

I'm using Rails 5.1.6.

styd commented 4 years ago

Thanks for reporting the issue. I just realized many other bugs while trying to fix this.