Print Page | Close Window

X Axis Bunched UP

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Chart Control
Forum Description: Topics Related to Codejock Chart Control
URL: http://forum.codejock.com/forum_posts.asp?TID=18699
Printed Date: 28 April 2024 at 12:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: X Axis Bunched UP
Posted By: silveja1
Subject: X Axis Bunched UP
Date Posted: 21 July 2011 at 9:26am
Hi,
The X-Axis is all bunched up when creating a chart that
is over a span of one day.  Is there any way to limit the labels
that are drawn or space them more appropriately?



Thanks,
Jay



Replies:
Posted By: Oleg
Date Posted: 22 July 2011 at 2:18am
Can you show code you used for it ?

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: silveja1
Date Posted: 01 August 2011 at 3:59pm
uploads/6869/chart.rar - uploads/6869/chart.rar

I posted the code, but the file that uses the chart has about 700 lines
and a few different charting options that I couldn't easily rip out.  

There were a few different charting options supported, Pie, Line, over a specific
time span, aggregating by date or hour. 

In this case the time span was over 24 hours and filtering by hour.


Posted By: Oleg
Date Posted: 04 August 2011 at 2:04pm
Hi,

I see you manually set Custom Axis, so Chart should show them all.

Think you can change angle or make them shorter to make it look nicer.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: silveja1
Date Posted: 04 August 2011 at 2:06pm
How do I set the angle?
Is there a way to set only every other label? 
Does this have to be done by hand?



Posted By: seanma
Date Posted: 13 February 2012 at 10:46am
pAxisX->GetLabel()->SetAngle()



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net