I appreciate the super nice feedback on M Chart.
It’s a bit of a labor of love on my part so the occasional kudos is always appreciated. 🙂
As for the UI controls overriding something in a theme, that actually shouldn’t happen. Theme stuff is applied AFTER the base chart values and settings have all been generated.
It’s the last thing done before the chart values are output into the Javascript for the given chart.
I’d be curious to see what issue you ran into with regards to this.
In any case thanks again for the very nice feedback.
-
This reply was modified 2 years, 11 months ago by
methnen.
Oh, really?? Hmmm… That was what I was anticipating, but didn’t work out that way.
More details about what was happening for me: When I had dataLabels
(either on series
or plotOptions.{type}
) set-up in the theme, everything would be applied except enabled
or format
. Say if I had the dataLabels
not enabled in the theme, but the box was ticked in the UI, the labels would still appear (and vice versa). Also, none of the formatting that I would detail in the theme would apply to the dataLabels
, like {point.y}%
or whatever. Likewise prob for the legend. I couldn’t get format
to trigger from the theme or enabled
to apply.
All that being said, styles, alignment, etc. worked for those options, as well as everything else I needed to customize. Any insight would be cool (I’m not like an expert in WP, Highcharts, PHP, or anything really).
Bottomline though: awesome plugin!
Hmm… I’ll have to take a look.
Do you still have a theme and chart data you could send my way that I could experiment with?
Feel free to email me anything:
jamie AT methnen.com
Format though I can answer on since that essentially requires a function and those can’t be passed through a PHP array/object into the JS which is just a limitation of having the themes exist in PHP first.
I’ve spent some time thinking about it and just haven’t yet worked out a way to deal with it that doesn’t have it’s own issues.