Jump to content
Software FX Community

XValues as DataEditor.Header values? + dock.fill scaled XAxis date gaffe


User (Legacy)

Recommended Posts

Is there a way to change the values displayed in the data editor's header?

Currently, I can either jumble all my XValues in with my series (with no

control over whether the cells are clustered horizontally/vertically, just

the coarse alignment of the entire table), or display no xvalues at all,

which pretty much removes any context for the data, and renders the data

editor useless as a q/d tabular view. What would make the most sense to me

is if the data editor header could be set to display the XValues that occur

in the chart for series displayed. If not that, then at least let the user

specify if the xvalues are displayed above/below/before/after the

corresponding data cell.

Another unrelated issue I'm having is with a chart control whose dock is set

to fill. When the chart gets "big" (e.g., 1,000 points over 4 months on a

1600x1200 display), the XAxis labels crowd eachother when I have

AxisStyle.ShowEnds applied to the AxisX.Style mask. Attachment shows what I

see. Is this a known issue, or do you have any advice for this situation?

Thanks.

Link to comment
Share on other sites

1) X-Values are not necessarily the same for all series, so if the chart has

many series which set of X-Values is to be displayed as headers ? this is

why this is not an option. You can hide the headers and leave the X-Values

visible. Do you have one series ? or more ?

Another option is to assign X-Axis labels. X-Axis labels will be displayed

in the Data Editor headers. If you don't want this labels to be displayed

along the Axis as well, you can do:

chart.AxisX.Style |= AxisStyle.IgnoreLabels;

2) Well, that's what ShowEnds do. It shows the end labels no matter what. In

this case this causes the last label to overlap with the one before it.

ShowEnds may cause overlapping, that's why it is not the default setting you

have to set it only when you are sure that this is not going to happen.

--

FP

Software FX, Inc.

Attachments.zip

Link to comment
Share on other sites

1) I have many series, but they all relate to the same X. Your XAxis labels

advice sounds like it will work perfectly if I massage my dataset to be

properly square.

2) This makes sense now. I will probably either revisit the need for

autoscaling, or react to resizing by hard setting steps or always pruning

the (last-1) X label.

Thank for the help.

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:C6HSpTM5CHA.3128@webserver1.softwarefx.com...

> 1) X-Values are not necessarily the same for all series, so if the chart

has

> many series which set of X-Values is to be displayed as headers ? this is

> why this is not an option. You can hide the headers and leave the X-Values

> visible. Do you have one series ? or more ?

>

> Another option is to assign X-Axis labels. X-Axis labels will be displayed

> in the Data Editor headers. If you don't want this labels to be displayed

> along the Axis as well, you can do:

>

> chart.AxisX.Style |= AxisStyle.IgnoreLabels;

>

> 2) Well, that's what ShowEnds do. It shows the end labels no matter what.

In

> this case this causes the last label to overlap with the one before it.

> ShowEnds may cause overlapping, that's why it is not the default setting

you

> have to set it only when you are sure that this is not going to happen.

>

> --

> FP

> Software FX, Inc.

>

>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...