I have found the solution by using:
text_hgt = g.Font.DrawingFont.Height
Search found 14 matches
- Thu Sep 12, 2013 7:48 am
- Forum: .NET
- Topic: Drawing Centred Text
- Replies: 1
- Views: 3181
- Thu Sep 12, 2013 3:45 am
- Forum: .NET
- Topic: Drawing Centred Text
- Replies: 1
- Views: 3181
Drawing Centred Text
I am drawing text on the TChart Canvas using the g.RotateLabel(Convert.ToInt32(X1), Convert.ToInt32(Y1), string, rotation) function For test purposes, I am setting the rotation to zero. To use this function, the text must be perfectly centred horizontally and vertically. I am trying to find the best...
- Tue Jan 29, 2013 5:11 pm
- Forum: .NET
- Topic: Subchart properties
- Replies: 4
- Views: 5895
Re: Subchart properties
This works well, Thank You!!
- Tue Jan 29, 2013 2:25 am
- Forum: .NET
- Topic: Subchart properties
- Replies: 4
- Views: 5895
Re: Subchart properties
This does not work, I get a syntax error. Dim chart = SubChartTool1.Charts.AddChart("Chart0") chart.Series.Add(New Steema.TeeChart.Styles.Points()) (chart(0) as Steema.TeeChart.Styles.Points).Pointer.Visible=True ~ I have tried: chart.Pointer.Visible=True chart.series(0).pointer.visible=True plus ot...
- Mon Jan 28, 2013 1:46 am
- Forum: .NET
- Topic: Subchart properties
- Replies: 4
- Views: 5895
Subchart properties
Hi, I have created a new subchart: Dim chart = SubChartTool1.Charts.AddChart("Chart0") chart.Series.Add(New Steema.TeeChart.Styles.FastLine()) How do I change the line width on the subchart? Dim chart = SubChartTool1.Charts.AddChart("Chart0") chart.Series.Add(New Steema.TeeChart.Styles.Points()) How...
- Sun Jan 20, 2013 11:02 am
- Forum: .NET
- Topic: Displaying Symbols On Legend
- Replies: 5
- Views: 7715
Re: Displaying Symbols On Legend
I am using the latest version. If I use the code in a new (different) application, it works fine. There is some problem with the configuration of the existing application to stop the Legend from working properly. Everything else in the Tchart works fine. Any ideas, apart from deleting the Tchart and...
- Fri Jan 18, 2013 5:18 pm
- Forum: .NET
- Topic: Log Plot Minimum Scale
- Replies: 5
- Views: 7039
Re: Log Plot Minimum Scale
Seems to work OK if I use tChart1.Axes.Left.Minimum = 0.001, but not if I use a variable tChart1.Axes.Left.Minimum = YLogMin
- Fri Jan 18, 2013 4:54 pm
- Forum: .NET
- Topic: Log Plot Minimum Scale
- Replies: 5
- Views: 7039
Re: Log Plot Minimum Scale
If I set tChart1.Axes.Left.Minimum = 0.0001, the scale plots correctly or other value, but if I set the scale to tChart1.Axes.Left.Minimum = 0.001, it does not plot.
- Fri Jan 18, 2013 2:51 pm
- Forum: .NET
- Topic: Log Plot Minimum Scale
- Replies: 5
- Views: 7039
Re: Log Plot Minimum Scale
I am referring to the Labels and Tickmarks on the Axes.
- Fri Jan 18, 2013 2:16 pm
- Forum: .NET
- Topic: Log Plot Minimum Scale
- Replies: 5
- Views: 7039
Log Plot Minimum Scale
What is the minimum scale that can be displayed on a Log-Log chart?
I can plot 0.01 minimum OK, but not 0.001?
I can plot 0.01 minimum OK, but not 0.001?
- Fri Jan 18, 2013 2:15 pm
- Forum: .NET
- Topic: Displaying Symbols On Legend
- Replies: 5
- Views: 7715
Re: Displaying Symbols On Legend
Sorry, this did not work for me.
- Thu Jan 17, 2013 8:16 am
- Forum: .NET
- Topic: Displaying Symbols On Legend
- Replies: 5
- Views: 7715
Displaying Symbols On Legend
I am having trouble displaying chart symbols in the chart legend of of one of my apps. The symbols (pointer styles) will not display in the legend, although the colors are correct. Legend Code Points1.Chart.Legend.Alignment = Steema.TeeChart.LegendAlignments.Right Points1.Chart.Legend.Transparent = ...
- Fri Nov 09, 2012 5:55 am
- Forum: .NET
- Topic: Log Chart Not Displaying Scale Correctly
- Replies: 1
- Views: 3101
Log Chart Not Displaying Scale Correctly
If I select a log scale on a points chart with a log scale of minimum 0.1 and maximum 100 (3 cycle), the log scale (tick marks) from 0.1 to 1 will not display. The log scale from 1 to 10 and 10 to 100 displays correctly. Can you confirm this is a bug? ' Case Log Linear Points1.Chart.Axes.Right.Logar...
- Fri Oct 12, 2012 8:42 pm
- Forum: .NET
- Topic: Request for pdf export
- Replies: 1
- Views: 3159
Request for pdf export
Can you add the following support to the pdf export option for all teecharts:
GDI+ Drawing methods
GDI+ drawn directly on the teechart canvas
lines, ellipses, rectangles etc
textout method for drawing text
Basically, the same output obtained from printing a teechart in a pdf export file.
GDI+ Drawing methods
GDI+ drawn directly on the teechart canvas
lines, ellipses, rectangles etc
textout method for drawing text
Basically, the same output obtained from printing a teechart in a pdf export file.