Print Page | Close Window

Axis labels missing

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=23439
Printed Date: 23 November 2024 at 3:08am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Axis labels missing
Posted By: iliketurtles
Subject: Axis labels missing
Date Posted: 07 September 2017 at 11:53am
I have a chart that shows currency values over time with X and Y axes labelled. One of my users reports that the labels are missing. I verified that the  titles appear, but not the axis labels. I don't see any reason why they would be missing for only one user. Any ideas? Using version 16.4.0.

Here is the relevant label setup code:

    Dim Diagram As ChartDiagram2D
    Set Diagram = Me.chart.Content.Series(0).Diagram
    Diagram.AxisY.Title = "Value"
    Diagram.AxisY.Title.Visible = True
    Diagram.AxisY.label.Format.Category = xtpChartCurrency
    Diagram.AxisY.label.Format.DecimalPlaces = 0
    Diagram.AxisY.label.Format.UseThousandSeparator = True

    Diagram.AxisX.Title = "Date"
    Diagram.AxisX.Title.Visible = True
    Diagram.AxisX.label.Format.DateTimeCategory = xtpChartDateTimeCustom
    Diagram.AxisX.label.Format.DateTimeFormat = "MM/dd/yyyy"
    Diagram.AxisX.label.Angle = 315
    Diagram.AxisX.DateTimeScaleUnit = xtpChartScaleMonth
   
    Diagram.AllowZoom = True
    Diagram.AllowScroll = True



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