Sign in to follow this  
kokfong

Indentation in Gantt's Process' labels

Recommended Posts

Hi,

 

We are in the midst of upgrading our FusionCharts' library to the latest version and found that the process label in Gantt chart no longer respects the indentation we put in the labels for Process. We used to have something like the following (chart was rendered in Flash):

 

>Deliverable 1

>>Deliverable 1.1

>>>Activity 1.1.1

>>>Activity 1.1.2

 

> represents number of spaces we have in the text

 

 Any idea/suggestion on this would be much appreciated.

 

Regards.

Share this post


Link to post
Share on other sites

Hi,

 

Welcome to FusionCharts Forum.

 

You can use align to position the process labels to left right or center.

"process": [
                    {
                        "label": "Clear site",
                        "id": "1",
                        "align":"left"
                    },
                    {
                        "label": "Excavate Foundation",
                        "id": "2",
                        "hoverBandColor": "#e44a00",
                        "hoverBandAlpha": "40",
                        "align":"center"
                    }
]

Share this post


Link to post
Share on other sites

 

Hi,

 

Welcome to FusionCharts Forum.

 

You can use align to position the process labels to left right or center.

"process": [
                    {
                        "label": "Clear site",
                        "id": "1",
                        "align":"left"
                    },
                    {
                        "label": "Excavate Foundation",
                        "id": "2",
                        "hoverBandColor": "#e44a00",
                        "hoverBandAlpha": "40",
                        "align":"center"
                    }
]

Thank you for your reply. What I wanted to do is to have multi level indentation so the align options don't fit into the picture. I finally ended up using unicode character 'NO-BREAK SPACE' (U+00A0) to construct the indentation as deep as I need, this way FusionCharts will not trim it as opposed to the normal blank space.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this