Author
|
Message
|
Nevron Support
|
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Please refer to the following example in our Windows Forms example application: All Examples > Axes > General > Axis Label Orientation The example is about axis labels, but it also displays titles for all visible axes (including the Depth axis).
Best Regards, Nevron Support Team
|
|
|
Luis Baldeon
|
|
Group: Forum Members
Last Active: 2 Years Ago
Posts: 8,
Visits: 27
|
Hi The complete vb function is attached to a previous post, code.txt Thanks
|
|
|
Nevron Support
|
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Luis, The code looks Ok, probably it's run out of context - please post the complete code you use to configure the control. Also did you call the nChartControl.Refresh() method?
Best Regards, Nevron Support Team
|
|
|
Luis Baldeon
|
|
Group: Forum Members
Last Active: 2 Years Ago
Posts: 8,
Visits: 27
|
Hi, thanks for the reply but this code does not work. I've tried several variations also and still can't get the depth axis title to show up. Dim scaleConfiguratorZ As NStandardScaleConfigurator = CType(chart.Axis(StandardAxis.Depth).ScaleConfigurator, NStandardScaleConfigurator) scaleConfiguratorZ.Title.Text = "Frequency (MHz)"
|
|
|
Nevron Support
|
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
The depth axis can be accessed with: chart.Axis(StandardAxis.Depth) Your code uses SecondaryY, which refers to a secondary Y axis (that is not visible by default). Please try with StandardAxis.Depth and make sure that the axis itself is visible.
Best Regards, Nevron Support Team
|
|
|
Luis Baldeon
|
|
Group: Forum Members
Last Active: 2 Years Ago
Posts: 8,
Visits: 27
|
I thought this code would work. It does not give errors but it also does not work. chart.Axis(StandardAxis.PrimaryX).ScaleConfigurator = linearScale linearScale.Title.Text = "Angle Degrees"
Dim scaleConfiguratorY As NStandardScaleConfigurator = CType(chart.Axis(StandardAxis.PrimaryY).ScaleConfigurator, NStandardScaleConfigurator) scaleConfiguratorY.Title.Text = "Gain (" & dBunits & ")"
Dim scaleConfiguratorZ As NStandardScaleConfigurator = CType(chart.Axis(StandardAxis.SecondaryY).ScaleConfigurator, NStandardScaleConfigurator) scaleConfiguratorZ.Title.Text = "Frequency (MHz)"
|
|
|
Nevron Support
|
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Please address all licensing related questions to: sales@nevron.com Regarding labeling the Depth axis – you should add title for the Depth axis just like you have titles for the other axes.
Best Regards, Nevron Support Team
|
|
|
Luis Baldeon
|
|
Group: Forum Members
Last Active: 2 Years Ago
Posts: 8,
Visits: 27
|
Hi I have the same problem. The watermark on my charts still have the watermark. How do you make that go away? Also, how do you label the Depth axis? Code and picture is included
|
|
|
Nevron Support
|
|
Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Leonardo, Can you post the code you use to configure the control for review? Also the control has a chart in the background that you don't use - most likely this is the default chart. To get rid of it call nChartControl1.Panels.Clear(); before adding new charts.
Best Regards, Nevron Support Team
|
|
|
Leonardo Rocha
|
|
Group: Forum Members
Last Active: 12 Years Ago
Posts: 7,
Visits: 1
|
Hi, I had the evaluation license to use some XY and XYZ scatter point plots in my application. After getting a professional license, the watermark shows in the the plots, but for my surprise also in the XY chart as you can see in the picture attached, with "Using functionality from higher edition" written. How do I remove the watermark? http://www.nevron.com/Products.ChartFor.NET.FeatureList.aspx
|
|
|