Jump to content
Software FX Community

Histogram X Axis Labeling (Decimals)


elleinnad23

Recommended Posts

Hello!

I have tried every bit of sample code and every combination of property settings I could think of.  I am hoping someone will have a suggestion.

I have a rather basic Histogram using one series of data.  The values I am plotting can be very close together (max = 10.209, min=9.6105).  There are an average of 5000 records in the set.  No matter what I try, the X axis only shows a label of "10".  I need it to show at least 5 labels (with 3-5 decimal places).

Here is a snippet of my code, any help will be much appreciated.  Thanks in advance!

Dim Stat as Statistical.Statistics

Stat.Gallery.Current = Statistical.Galleries.Gallery.HistogramWith Stat.Gallery.Histogram

.ShowLimits =

False

.ShowNormal =

True

.AxisX.LabelsFormat.Decimals = 5

.Intervals = 50

.AxisX.ForceZero =

False

End With

Dim

ch As New Chart

(SNIPPED) Set up datasource and fieldmappings)

Stat.Chart = chWith ch

.AxisX.ForceZero =

False

.AxisY.ForceZero =

False

.LegendBox.Visible =

False

.DataGrid.Visible =

False

.AxisX.DataFormat.Decimals = 5

.AxisX.LabelsFormat.Decimals = 5

.ImageSettings.Height = 500

.ImageSettings.Width = 775

End With
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...