Print Page | Close Window

[QUESTION] Minor Tickmarks using CustomLabels

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=18019
Printed Date: 21 November 2024 at 3:16pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [QUESTION] Minor Tickmarks using CustomLabels
Posted By: Xander75
Subject: [QUESTION] Minor Tickmarks using CustomLabels
Date Posted: 08 March 2011 at 6:58am
Hi,

I have been asked to display the total Working Hours, which is 37.75 i.e. 37hrs 45mins on the Y-Axis. Before I was using a constant line, so I thought I would use CustomLabels. As you can see from the screenshot below I managed to get the 37.75 label added successfully but I noticed the minor tickmarks are no longer visible.



After adding the last custom label I have tried setting TickMarks.MinorVisible = True using the code:


    Diagram.AxisY.CustomLabels.Add "37.75", 37.75
    Diagram.AxisY.TickMarks.MinorVisible = True


But they still won't display. I am guessing that the CustomLabels is overriding this, does anyone know if it's possible to display the minor tickmarks when using CustomLabels?


-------------
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition
Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6)



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