gantt icon indicating copy to clipboard operation
gantt copied to clipboard

Providing a custom start date of the X-axis scale.

Open charity1475 opened this issue 2 years ago • 7 comments

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

charity1475 avatar Oct 14 '22 12:10 charity1475

Have you figured out how to do this?

m50S79sM6SRNp8Jn avatar Aug 19 '23 09:08 m50S79sM6SRNp8Jn

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: @.***>

charity1475 avatar Aug 19 '23 13:08 charity1475

Ok great. Possible to share your solution with us so we can learn from it?

m50S79sM6SRNp8Jn avatar Aug 19 '23 14:08 m50S79sM6SRNp8Jn

I would also like to know your answer

LeeWheeler avatar Nov 07 '23 20:11 LeeWheeler

@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

charity1475 avatar Nov 07 '23 23:11 charity1475

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: @.***>

LeeWheeler avatar Nov 07 '23 23:11 LeeWheeler

👍

charity1475 avatar Nov 08 '23 11:11 charity1475

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?

safwansamsudeen avatar Apr 04 '24 18:04 safwansamsudeen

Will be fixed in #387.

safwansamsudeen avatar Apr 05 '24 10:04 safwansamsudeen