gantt
gantt copied to clipboard
Providing a custom start date of the X-axis scale.
For any View mode I will choose, the x-axis will start far behind and then I can scroll back. I need to specify a minimum date in the x-axis where the graph will start. Please refer to this from chart3 js HERE
Have you figured out how to do this?
Yeah
On Sat, Aug 19, 2023, 12:22 PM m50S79sM6SRNp8Jn @.***> wrote:
Have you figured out how to do this?
— Reply to this email directly, view it on GitHub https://github.com/frappe/gantt/issues/295#issuecomment-1684902672, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOBVNJODUHCJTFONFKQDWILXWCAVVANCNFSM6AAAAAARFFXBLI . You are receiving this because you authored the thread.Message ID: @.***>
Ok great. Possible to share your solution with us so we can learn from it?
I would also like to know your answer
@m50S79sM6SRNp8Jn @LeeWheeler, Sorry i didn't mean i found a solution really. But I stopped using frappe/gantt. The only possible way I saw was downloading a js dist file and customizing this block: https://github.com/frappe/gantt/blob/1d024dcb55d3a150ca8c819985067f9a69ae80ba/dist/frappe-gantt.js#L1151C16-L1151C16
Thanks I will give it a try Sent from my iPhone XS Max 512GBOn 7 Nov 2023, at 23:32, Charity @.***> wrote: @m50S79sM6SRNp8Jn @LeeWheeler, Sorry i didn't mean i found a solution really. But I stopped using frappe/gantt. The only possible way I saw was downloading a js dist file and customizing this block: https://github.com/frappe/gantt/blob/1d024dcb55d3a150ca8c819985067f9a69ae80ba/dist/frappe-gantt.js#L1151C16-L1151C16
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>
👍
Currently, padding is automatically set based on the view mode (e.g. 7 days on each side for half day view). Do you want to customize this behavior?
Will be fixed in #387.