Sanjukta

Add text to background and highlight today

Recommended Posts

Hi,

2 questions, I am using the ScrollLine2D chart:

is it possible to add text to the background even at the top?

I am using dates as my x-series from an xml file in the form of :

<record>
<date>10/06/10</date>
<target>0 </target>
<actual>0 </actual>
<ta>0 </ta>
<aa>0 </aa>
<tb>0 </tb>
<ab>0 </ab>
</record>
<record>
<date>17/06/10</date>
<target>11 </target>
<actual>0 </actual>
<ta>11 </ta>
<aa>0 </aa>
<tb>0 </tb>
<ab>0 </ab>
</record>
<record>
<date>24/06/10</date>
<target>18 </target>
<actual>0 </actual>
<ta>18 </ta>
<aa>0 </aa>
<tb>0 </tb>.............

Is it possible to hightlight (a vertical line) showing todays date?

Thanks,

Sanjay

Share this post


Link to post
Share on other sites

Hi Sanjay,

is it possible to add text to the background even at the top?

Could you please try using the atrributes "caption" and "subCaption" in the <chart> element for adding string/text on top of the chart?

Ref.- http://www.fusioncharts.com/docs?/ChartSS/ScrollLine2D.html#Anchor2

 

Is it possible to hightlight (a vertical line) showing todays date?

Could you please try a setting a different color for the attribute "color" and a higher value for the attribute "thickness" in the <vLine> element to highlight it?

Ref.- http://www.fusioncharts.com/docs?/ChartSS/ScrollLine2D.html#Anchor17

 

Also, you can apply "styles" on the VLINES object. Styles lends a simple mechanism using which you can easily control the visual layout of charts applying specific font, effect and animation to the objects.

Ref.- http://www.fusioncharts.com/docs/ >> FusionCharts v3 STYLES

Hope this helps. :)

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