Sign in to follow this  
RecallMyGirl

Fusioncharts May Have Two Subcaption?[The Requirements Of The Tragedy]

Recommended Posts

This is the professor's request!!!!!!!

Garbage requirements......

 

FusionCharts XML

In graphics has two Subcaption, a household display the time, a r right show unit.

post-28330-0-11743000-1339664357_thumb.png

Share this post


Link to post
Share on other sites
Guest Sumedh

This is the professor's request!!!!!!!

Garbage requirements......

 

FusionCharts XML

In graphics has two Subcaption, a household display the time, a r right show unit.

post-28330-0-11743000-1339664357_thumb.png

 

 

Hi,

 

You cannot directly align the sub caption to the right side.

 

However using FusionCharts Styles you can achieve this.

 

You would need to apply styles on the SUBCAPTION object of the chart in the XML.

 

Ref. Code:

<chart ..>

..

 

<styles>

<definition>

<style name='MyFirstFontStyle' type='font' font='Verdana' size='12' color='696969' align='right' />

</definition>

<application>

<apply toObject='SUBCAPTION' styles='MyFirstFontStyle'/>

</application>

</styles>

</chart>

 

Please find attached screen-shot and XML for your reference.

post-24802-0-03336700-1339676603_thumb.png

SubCaption_Align.xml

Share this post


Link to post
Share on other sites

Hi,

 

You cannot directly align the sub caption to the right side.

 

However using FusionCharts Styles you can achieve this.

 

You would need to apply styles on the SUBCAPTION object of the chart in the XML.

 

Ref. Code:

<chart ..>

..

 

<styles>

<definition>

<style name='MyFirstFontStyle' type='font' font='Verdana' size='12' color='696969' align='right' />

</definition>

<application>

<apply toObject='SUBCAPTION' styles='MyFirstFontStyle'/>

</application>

</styles>

</chart>

 

Please find attached screen-shot and XML for your reference.

 

Thanks a lot, but my need this chart have two Subcaption .

 

 

Share this post


Link to post
Share on other sites
Guest Sashibhusan

Hi,

 

FusionCharts does not support multiple subCaptions as of now.

 

However as a work around you can use "caption" to show the time at center (using {br} line breaker) and "subCaption" to show the unit at top right corner.

 

Updated the XML accordingly.

 

Please find the attached screen shot of the same for your reference.

 

Hope this helps!

SubCaption_Align.xml

post-23588-0-71158600-1340184070_thumb.png

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