methnen
Forum Replies Created
-
Forum: Plugins
In reply to: [M Chart] Import file not workingClosing do to lack of followup from OP.
Forum: Plugins
In reply to: [M Chart] Duration in Y-axis?Closing.
Forum: Plugins
In reply to: [M Chart] Values over >1million showing NaN in X-axisThis was resolved over email and a fix will be in the next release.
Forum: Plugins
In reply to: [M Chart] Import file not workingNone of the theme settings or otherwise are likely culprits.
There’s JS involved in the functionality so something has to be circumventing that or there’s a JS error occurring. I’m unable to duplicate the issue myself so I need more information to know what’s actually going on.
If you’re comfortable with me accessing the admin panel of your site you could give me a temporary login/pass.
My email address is:
jamie AT methnen.com
If not I need a lot more detail.
1. Can you see any errors in the browser console after clicking the Select File button? There’s some good directions on how to see your console here: https://balsamiq.com/support/faqs/browserconsole/
2. You mention both Chrome and Firefox, what operation system though? Windows? Mac? Linux? Etc…
3. Any browser extensions that you have active across both browsers? Ad blockers perhaps? I’ve seen those occasionally get to aggressive and block legitimate code.
4. Any other details you might be able to provide.
Forum: Plugins
In reply to: [M Chart] Import file not working@wrathyimp are there any errors showing in the browser console when this happens? Also can you give me the browser and OS that you are using?
I used the CSV import yesterday and wasn’t seeing any issues so hoping it’s something specific.
Forum: Plugins
In reply to: [M Chart] Values over >1million showing NaN in X-axisCould you share the CSV export with me and send it here:
jamie AT methnen.com
I’ll see if I can duplicate and then fix the issue.
Forum: Plugins
In reply to: [M Chart] Duration in Y-axis?@scuderiadank Yes, the plugin is purposely not super aware of the time data. I’ve thought about ways to support it better but have never been able to think of a method that wouldn’t conflict with other data in bad ways or that wouldn’t overcomplicate the parsing code.
So yes, data points themselves need to be normal integers of some kind.
That said there are a ton of action and filter hooks in the plugin code so you could potentially write some additional number handling to deal with your specific need if you were comfortable with that level of coding.
- This reply was modified 4 years, 3 months ago by methnen.
Forum: Plugins
In reply to: [M Chart] Values over >1million showing NaN in X-axis@teknofilo that’s definitely not intended behavior.
However, looking at the data in the spreadsheet it looks to me like you’ve got text mixed in with the numbers in those cells.
That’s your issue I suspect.
Forum: Plugins
In reply to: [M Chart] Acces ChartJS custom optionsThere is. The same jQuery style events exist for Chart.js.
Perhaps most useful for Chart.js though is there’s a m_chart_after_chart_args action hook that provides:
$post_id, $args, $instance
As arguments.
This allows you throw some additional JS into the chart code before render.
So you could set some Chart.js default values:
Chart.defaults.font.size = 15;Or you could even call a custom Chart.js plugin:
m_chart_chartjs_<?php echo absint( $post_id ); ?>_<?php echo absint( $instance ); ?>.chart_args.plugins = [plugin_name_here];I can’t remember if I’ve got documentation on those yet. I might not. I’ve been extremely busy with paying work and life in general this year and haven’t had a lot of time to spend writing docs.
- This reply was modified 4 years, 3 months ago by methnen.
Forum: Plugins
In reply to: [M Chart] Import from ExcelHey @wrathyimp importing from Excel is simple if you simply save the excel file as CSV instead of Excel’s proprietary file format.
Adding the ability to import raw Excel files is just not something I have in my plans.
Likewise I’m not planning on supporting the stock ticker type chart from Highcharts (I’m assuming that’s your request there?)
I do have some users using M Chart to do stock type charts but they’re just using the the line chart variations to do that.
Forum: Plugins
In reply to: [M Chart] Can I set a pre-defined Y Axis?Closing since there’s been no response from the OP.
Forum: Plugins
In reply to: [M Chart] X axis numeric values@slovensko I just released version 1.9.3 which specifically fixes this issue.
Forum: Plugins
In reply to: [M Chart] Update NoticeThis should be fixed in the latest release.
Forum: Plugins
In reply to: [M Chart] Update NoticeHey Andre,
I’ll look into why it’s not recognizing that it’s been updated. Thanks for letting me know.
Forum: Plugins
In reply to: [M Chart] Can I set a pre-defined Y Axis?Hey @annawrites I’m not entirely sure I understand the request.
Are you wanting to set a max y-axis value on charts that have them?
Is there a way for you to visually describe the request possibly?