Hi Narcís,
Thanks, I did read that thread but it didn't really tell me much. Does v3 use .NET 3.0? Why would I use v3? That's the type of information I am looking for.
Gary
Search found 43 matches
- Wed Feb 28, 2007 6:50 pm
- Forum: .NET
- Topic: Version 3 enhancements
- Replies: 6
- Views: 10523
- Tue Feb 27, 2007 6:42 pm
- Forum: .NET
- Topic: Version 3 enhancements
- Replies: 6
- Views: 10523
- Wed Jan 17, 2007 10:32 pm
- Forum: .NET
- Topic: Chart width
- Replies: 14
- Views: 20450
Correction - this workaround doesn't work in all cases. If the bar data is cleared, the first time data is added and the chart is redrawn the problem occurs. This makes it so I cannot use a bar chart. Add a button that clears the bar data to the project I had posted earlier and you will see the prob...
- Tue Jan 16, 2007 5:09 pm
- Forum: .NET
- Topic: Chart width
- Replies: 14
- Views: 20450
- Fri Jan 12, 2007 5:13 pm
- Forum: .NET
- Topic: Chart width
- Replies: 14
- Views: 20450
- Thu Jan 11, 2007 6:45 pm
- Forum: .NET
- Topic: Chart width
- Replies: 14
- Views: 20450
- Wed Jan 10, 2007 5:25 pm
- Forum: .NET
- Topic: Chart width
- Replies: 14
- Views: 20450
- Wed Jan 10, 2007 12:37 am
- Forum: .NET
- Topic: Chart width
- Replies: 14
- Views: 20450
I have found that the BeforeDrawSeries and BeforeDrawAxis events are called AFTER the code that sets the custom bar size (CustomBar.DoCalcBarWidth()). So I need to set my bar size in BeforeDraw. However, I have found that sometimes when unzooming, the chart bounds are not set correctly the first tim...
- Mon Jan 08, 2007 6:40 pm
- Forum: .NET
- Topic: Chart width
- Replies: 14
- Views: 20450
- Sat Jan 06, 2007 12:39 am
- Forum: .NET
- Topic: Chart width
- Replies: 14
- Views: 20450
Chart width
Hi,
How can I determine the width of the actual drawing area of the chart? (not the panel and not including labels, margins, etc...)
I tried:
Rectangle rc = tChart1.Chart.ChartRect;
int width = rc.Width;
But it does not seem to be correct.
Thanks!
How can I determine the width of the actual drawing area of the chart? (not the panel and not including labels, margins, etc...)
I tried:
Rectangle rc = tChart1.Chart.ChartRect;
int width = rc.Width;
But it does not seem to be correct.
Thanks!
- Thu Jan 04, 2007 11:41 pm
- Forum: .NET
- Topic: Bar graph clipping
- Replies: 1
- Views: 4926
Bar graph clipping
I have a bar graph where the bars are 50 pixels wide.
When I pan the chart, as the center of the a bar goes beyond the left side chart bounds the entire bar disappears. This does not happen when the bar is panned off the right side.
Is there a way to prevent this clipping action to occur?
When I pan the chart, as the center of the a bar goes beyond the left side chart bounds the entire bar disappears. This does not happen when the bar is panned off the right side.
Is there a way to prevent this clipping action to occur?
- Thu Sep 07, 2006 4:12 pm
- Forum: .NET
- Topic: Offset axis labels
- Replies: 6
- Views: 10240
Yes, I found that the custom label color has to be set explicitly when one is added, if you want something other than black. Steema.TeeChart.AxisLabelItem item = tChart1.Axes.Bottom.Labels.Items.Add(i + (width / 2), i.ToString()); item.Font.Color = tChart1.Axes.Bottom.Labels.Color; Also, to work in ...
- Wed Sep 06, 2006 9:58 pm
- Forum: .NET
- Topic: Offset axis labels
- Replies: 6
- Views: 10240
However, I have one additional issue with my particular graph. It has a black background, and while the grid lines show up in the correct location the labels themselves do not appear. This works fine in a small test project, any ideas why the label text would not be shown? The labels displayed when ...
- Wed Sep 06, 2006 9:55 pm
- Forum: .NET
- Topic: Offset axis labels
- Replies: 6
- Views: 10240
Well I kinda sorta answered my own question. This code works for me, I assume a certain label width but for my needs that is OK. private void tChart1_AfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g) { Steema.TeeChart.AxisLabelItem CurrentLabel; int labelWidth = 40; int labelCount = (in...
- Wed Sep 06, 2006 5:15 pm
- Forum: .NET
- Topic: Offset axis labels
- Replies: 6
- Views: 10240
I think custom labels will work for me, but I need to find a way to avoid label overlap. This code: private void tChart1_AfterDraw(object sender, Steema.TeeChart.Drawing.Graphics3D g) { tChart1.Header.Text=""; Steema.TeeChart.AxisLabelItem CurrentLabel, PreviousLabel; for (int i=1; i<tChart1.Axes.Le...