Sign in to follow this  
TRT04

Aligning Multiple Spark Line Charts

Recommended Posts

Your site has an example of multiple spark line charts being formatted together.

SparkLine.gif

I am running into an alignment problem in trying to emulate your approach.  If the high/low or starting/ending values do not have the same number of digits, the spark lines vary in length.  This can be partially addressed by forcing the 2 digit decimal point, but I have not found a way to address it with a mix of positive/negative values or if all the whole numbers are not the same number of digits. 

Is there a way to control the width of the chart area and align it with the other charts?  ...this is without discarding the high/low and beginning/ending values.

Thank You,

Share this post


Link to post
Share on other sites

Yes - we've attributes like canvasLeftMargin and canvasRightMargin which let you set the size of canvas irrespective of limit values.

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