User (Legacy) Posted February 7, 2005 Report Share Posted February 7, 2005 Hi, I've noticed what seems to be an anomaly when setting tick marks and certain axis types. In your "passing data" sample if you add the lines: .AxesStyle = CAS_MATH .Axis(AXIS_X).TickMark = TS_CROSS .Axis(AXIS_X).GridColor = RGB(0, 0, 255) to the line/step graph (option6_click), then you can see tickmarks being drawn on the x axis as per normal. However, at position zero, the tickmark is drawn for the whole length of the graph. I've noticed it only happens for the CAS_MATH and CAS_FLATFRAME axis types. Is this by design (why?) or is it a bug? Cheers, Steve. Link to comment Share on other sites More sharing options...
Software FX Posted February 9, 2005 Report Share Posted February 9, 2005 This is by design. It is called the "Zero Line". If you don't want a line at zero, simply do: chart.AxisX.Style &= ~AxisStyle.BreakZero; -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted February 9, 2005 Author Report Share Posted February 9, 2005 Hi, adding: .Axis(AXIS_X).Style = .Axis(AXIS_X).Style And (Not AS_BREAKZERO) after my original line doesn't do anything... The help for AS_BREAKZERO doesn't really indicate that this affects tickmarks at all. Steve. SoftwareFX Support wrote: > This is by design. It is called the "Zero Line". > > If you don't want a line at zero, simply do: > > chart.AxisX.Style &= ~AxisStyle.BreakZero; > Link to comment Share on other sites More sharing options...
Software FX Posted February 10, 2005 Report Share Posted February 10, 2005 Can you attach a screenshot of the problem. I think I'm not understanding what's going on. -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted February 11, 2005 Author Report Share Posted February 11, 2005 I've attached a picture. Did you try it in the sample i mentioned? SoftwareFX Support wrote: > Can you attach a screenshot of the problem. I think I'm not understanding > what's going on. > Link to comment Share on other sites More sharing options...
Software FX Posted February 11, 2005 Report Share Posted February 11, 2005 Oh. Those lines. Those are not gridlines, that's the axis itself. This is by design, the axis is drawn in the same color as the Gridlines/Tickmarks when the axis is "Math" or "Flat frame". If I add your code in the Line/Step sample, I get the same picture except that I get the blue line only on the left (not on the right). I get that line when I set the AxesStyle to "Flat Frame". This is also by design. If you want the axis lines to be of different color than the gridlines, you can use the Minor Tickmarks/Gridlines. Or you can simply hide the axis lines altogether by setting AxesStyle to "none". -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.