Elger van Boxtel

Gantt Chart: align (sub)caption with styles

Recommended Posts

I'm trying to align the caption & subcaption on a Gantt chart. I understood that I have to use styles for that.

 

After reading the documentation on http://docs.fusioncharts.com/charts/?Styles/HowToUse.html I've come up with the following:

 

 

In my JSON I have:

"chart": {

        "caption": "Project Gantt",
        "subcaption":"From 1st Feb 2007 - 31st Aug 2007",

},

"styles":{
            "definition":{
            "name": "alignLeftStyle",
            "type": "font",
            "align": "left"
        },
        "application":{
            "toObject": "Caption",
            "styles": "alignLeftStyle"
        }
    }

 

but alignment is still default set to center...

 

Has anybody ran into this as well?

 

Tnx

Share this post


Link to post
Share on other sites

I'm trying to align the caption & subcaption on a Gantt chart. I understood that I have to use styles for that.

 

After reading the documentation on http://docs.fusioncharts.com/charts/?Styles/HowToUse.html I've come up with the following:

 

 

In my JSON I have:

"chart": {

        "caption": "Project Gantt",

        "subcaption":"From 1st Feb 2007 - 31st Aug 2007",

},

"styles":{

            "definition":{

            "name": "alignLeftStyle",

            "type": "font",

            "align": "left"

        },

        "application":{

            "toObject": "Caption",

            "styles": "alignLeftStyle"

        }

    }

 

but alignment is still default set to center...

 

Has anybody ran into this as well?

 

Tnx

Hi,

 

Please note that it is already mentioned in our Online Documentation that controlling alignment of caption and sub-caption is not supported in JavaScript charts.

Ref.- http://docs.fusioncharts.com/widgets/Contents/?Styles/Font.html

 

Hence, you might be rendering the JavaScript Gantt chart which would not change the alignment.

 

Hope this helps.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi Elgervb,

 

We will add this feature request to our feature wishlist.

 

We will try to implement this feature, if it is feasible.

 

Thanks for your time and support.

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi Elgervb,

 

Feature wishlists are internal and we can't make it public.

 

If the feature is feasible, then we will update you for sure.  :)

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