I have published a plugin that provides a fully customizable Gantt / Timeline Chart for your application. This Gantt / Timeline chart uses the data from your database or another dynamic data source. The plugin offers extensive customization options.
Is there some place that lists all of the events, states, and actions implemented by the plugin to help discern its overall capabilities?
Can the view mode be changed dynamically, or is it fixed per instance?
It’s clear that the chart will update when the data changes, but can the data be updated when the chart is manipulated, like in the official project? I can’t seem to manipulate the chart on your demo page, but it’s unclear if that’s a limitation of the demo or the plugin itself.
Thank you for your questions. I have answered them below.
1 - I think you can see those in the editor, but maybe they are a little hard to find: Event: ‘Bar is clicked’. States (these are set when a bar is clicked): ‘Name’, ‘id’, ‘Current progress’, ‘Starting date (text)’ and Ending date (text).
2 - I just published an update (1.1.0) that let you change the view mode dynamically! I also updated the demo page:
3 - The bars on the chart can’t be manipulated. Initially it was the intention to include these features, but they let to a lot of bugs and unexpected behaviour and that’s why they are not included in this version.
The plugin Gantt / Timeline Chart / element Gantt chart threw the following error: UnexpectedError Invalid fieldName: null
at Object.get (https://dhtiece9044ep.cloudfront.net/package/run_debug_js/d2fb316acb459c38acc539f348c80c7026dd1ef68a82cf158b69af4ffff9c487/xfalse/x7:18:458946)
at eval (PLUGIN_Gantt---Timeline-Chart-update--Gantt-chart-.js:7:97) (please report this to the plugin author)
Hi @mattblake! This is probably caused because the chart doesn’t have any data to show (or in this case an empty ‘Name’). Once you add the data to your database it will show up on the chart.
I will at the end of the day try if I can push an update to get rid of this error and just show no chart or an empty chart when there is no data. I think that a lot of people will find that useful
1 - Charts with no data will not trigger errors anymore. If there is no data the chart element will stay empty.
2 - Missing ‘id’, ‘name’ or ‘progress’ values in your data will also not trigger errors anymore. The starting date and ending date properties are still mandatory. @mattblake
3 - The tooltip will not get smaller on click anymore.
Thanks for looking into it so quick. I’ve updated to the most recent version. I’m still seeing nothing and an error in the debug.
The Data Source is generating results but the top section is still showing as empty. I’ve tried a repeating group with the same search to check if it’s to do with privacy settings, however, the repeating group do show Task results.
I just published version 1.5.0 containing a custom drag to scroll feature! You can turn this off inside the property settings. Also, you can specify a specific multiplier to speed up the scroll and you can enable/disable the ‘grab’ cursor style
I have updated the demo page so you can take a look.