Our state of the art Gantt chart


Post by zhang »

The default text above the vertical line of the START time and END time of the Gantt chart is "PROJECT START" and "PROJECT END". Can this text be customized


Post by mats »

Yes, these strings are part of our locale so simply localize them:

    ProjectLines : {
        'Project Start' : 'Project start',
        'Project End'   : 'Project end'
    },

This guide explains how: https://bryntum.com/docs/gantt/guide/Gantt/customization/localization


Post by zhang »

I still don't understand, do I just need to add the configuration?
I set it like this:

projectLinesFeature: {
        'Project Start': 'project start'
}

But it didn't work
The second question is, in addition to replacing text, can you also customize the color, appearance and other attributes of project lines


Post by alex.l »

Please check this post, it has a code snippet: viewtopic.php?f=52&t=21212

All the best,
Alex


Post Reply