bperkins24 Posted February 1, 2010 Report Share Posted February 1, 2010 I want to disable the zero line for the grid axes. Is this possible? Quote Link to comment Share on other sites More sharing options...
RandyJ Posted February 1, 2010 Report Share Posted February 1, 2010 Hi bperkins24, The zero line appears when the BreakZero flag is "on". This flag is one of the many flags you can enable or disable by means of the axis style property. Remember the axis style property is a mask property which means all settings represent a bit in the word that you need to turn on or off according to what you want. For this purpose you will need to use the bitwise operators (And, Or, Not, Xor) provided by your development tool. So for example, if you want to delete the X axis line when the Y values has negative and positive values, you just need to add the following line: Chart1.AxisY.Style &= ~AxisStyles.BreakZero; Regards, RandyJ Quote Link to comment Share on other sites More sharing options...
bperkins24 Posted February 1, 2010 Author Report Share Posted February 1, 2010 Thanks for the prompt response. I'm using the SSRS Chart and I'm not seeing a Style property on AxisX, AxisY or AxisY2. Where exactly can I find this property for the SSRS Chart? Thanks, Boyd Quote Link to comment Share on other sites More sharing options...
bperkins24 Posted February 5, 2010 Author Report Share Posted February 5, 2010 Any more info on this? Quote Link to comment Share on other sites More sharing options...
RandyJ Posted February 8, 2010 Report Share Posted February 8, 2010 Hi bperkins24, The style property belongs to the Axis class. Please refer to the link below which points to the Chart FX for Reporting Services Documentation. You will find the style propery under Chart ->  ChartFX.ReportingServices -> AxisY Class -> Properties -> Style http://support.softwarefx.com/SupportDocTree.aspx?Prod=CfxRS&Type=A This other link points to the Syle property directly: http://support.softwarefx.com/OnlineDoc/CfxRS/API/Axis_Style.htm Regards, RandyJ Quote Link to comment Share on other sites More sharing options...
bperkins24 Posted February 8, 2010 Author Report Share Posted February 8, 2010 I can see this property on the class just fine but it doesn't display in the SSRS designer. The property is declared as Browsable(false) so it doesn't display in the property window. Using the designer (because I have no other option in SSRS to set up the chart right?), how do I disable the break zero flag? Quote Link to comment Share on other sites More sharing options...
RandyJ Posted February 8, 2010 Report Share Posted February 8, 2010 Hi bperkins24, I am sorry for the misunderstanding. Unfortunately I believe this would not be possible with the version for Reporting Services. In this version you are limited to whatever is available in the properties window. Since you cannot enter code, I believe this property is not available. However, since the property in question was indeed included in the documentation I'll investigate further to see if there is any work around to overcome this problem. Regards, RandyJ Quote Link to comment Share on other sites More sharing options...
bperkins24 Posted February 8, 2010 Author Report Share Posted February 8, 2010 Thanks a lot for your help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.