Search found 72 matches

by bairog
Fri Aug 07, 2009 12:36 pm
Forum: .NET
Topic: Howto get painting area right screen coordinate
Replies: 1
Views: 4753

Howto get painting area right screen coordinate

I have a chart and I whant to draw a horizontal line within chart painting area (I mean rectangle between axes) from left to right. Printing area left coordinate I can calculate as tChart1.Axes.Left.Position . How can I get prinring area rigth coordinate? BTW using tChart1.Axes.Right.Position return...
by bairog
Thu Jul 16, 2009 12:37 pm
Forum: .NET
Topic: Logarithmic axis and negaive values
Replies: 7
Views: 8928

Re: Logarithmic axis and negaive values

Could you please attach a simple example project we can run "as-is" so that we can reproduce the issue here and try to find the optimal solution? Do you mean you need an example that can show both situations described above? Ok, here it is. Due to maximum file size limitations there are two arhives...
by bairog
Thu Jul 16, 2009 6:06 am
Forum: .NET
Topic: How to change series marks default position for zero Y value
Replies: 3
Views: 6998

Re: How to change series marks default position for zero Y value

I've tried to compile your example "as-is" but faced two mistakes: 1) I don't know what chartController1 is because it is not defined. So I simply deleted that string from your example. Is that string useful and for what purpuse? 2) Steema.TeeChart.TChart.Draw method correct prototype is public Void...
by bairog
Wed Jul 15, 2009 6:47 am
Forum: .NET
Topic: How to change series marks default position for zero Y value
Replies: 3
Views: 6998

How to change series marks default position for zero Y value

I have a chart with two bar graphs (one is for positive values and enother is for negative). One is drawing above enother. Both graphs have marks. After adding for example (0, 1) for first graph and (0, 0) for second I can see two overlapping marks for that points: http://pic.ipicture.ru/uploads/090...
by bairog
Wed Jul 15, 2009 5:33 am
Forum: .NET
Topic: Logarithmic axis and negaive values
Replies: 7
Views: 8928

Re: Logarithmic axis and negaive values

The easiest solution I can think of is not drawing every second mark The situation is more difficult than you suppose. Let me show you: http://pic.ipicture.ru/uploads/090715/JcoqodTMxU.jpg In this situation I should remove all labels except second in each duplicate labels sequence (second label is ...
by bairog
Tue Jul 14, 2009 1:26 pm
Forum: .NET
Topic: Logarithmic axis and negaive values
Replies: 7
Views: 8928

Re: Logarithmic axis and negaive values

Well, taking into account printing, scrolling and zooming i suppose that the easiest way is to do the following operations: 1) use a chart with non-logarithmic left axis 2) add log(x) instead of positive values that >= 10, -log(|X|) instead of negative values that <= -10, X/10 instead all others 3) ...
by bairog
Tue Jul 14, 2009 9:37 am
Forum: .NET
Topic: How to draw a mark near clicked point
Replies: 6
Views: 8118

Re: How to draw a mark near clicked point

if the index is greater than the number of present MarksItems, a new null MarksItem is added in We are talking about different things. I mean that: public Form1() { InitializeComponent(); InitializeChart(); } private void InitializeChart() { Steema.TeeChart.Styles.Bar bar1 = new Steema.TeeChart.Sty...
by bairog
Tue Jul 14, 2009 9:17 am
Forum: .NET
Topic: Logarithmic axis and negaive values
Replies: 7
Views: 8928

Logarithmic axis and negaive values

I have a chart with two bar graphs (one is for positive values and enother is for negative): http://pic.ipicture.ru/uploads/090714/nUXtiipkqx.jpg I have only values below 5 and above 1000, so I tried to use logarithmic axis. But negative values are not possible for that axis type. So I ask for help:...
by bairog
Fri Apr 24, 2009 4:42 pm
Forum: .NET
Topic: Howto calculate point index(es) using definite Xvalue
Replies: 3
Views: 5655

Hi bairog, You can use IndexOf as I explained here: http://www.teechart.net/support/viewtopic.php?t=9516&highlight=indexof It is not exactly what I wanted because IndexOf returns only the first point index. If I have for example line1.Add(1, 1); line1.Add(1, 0); and than use line1.XValues.IndexOf(1...
by bairog
Fri Apr 24, 2009 11:31 am
Forum: .NET
Topic: Howto calculate point index(es) using definite Xvalue
Replies: 3
Views: 5655

Howto calculate point index(es) using definite Xvalue

I'm looking for function that returns point index(es) having definite Xvalue.
I mean something like

Code: Select all

int[] Indexes TeeChart.Series.CalcIndexForXValue(double XValue)
Is there such a function or I will have to use foreach instead?

BTW I'm using line series if it's matter.
by bairog
Mon Feb 02, 2009 6:04 pm
Forum: .NET
Topic: New teeChartV2 versions' startup problem
Replies: 27
Views: 43072

You are welcome :)
by bairog
Mon Feb 02, 2009 6:55 am
Forum: .NET
Topic: New teeChartV2 versions' startup problem
Replies: 27
Views: 43072

Do either of these controls, when run in a container application, cause the unwanted DNS traffic to occur? First one does, but second doesn't. To tell you the truth using WindowsFormsControlLibrary2.dll in my project raised FileNotFoundException :? , so I created dummy component library WindowsCont...
by bairog
Fri Jan 23, 2009 12:42 pm
Forum: .NET
Topic: New teeChartV2 versions' startup problem
Replies: 27
Views: 43072

I won't be able to do this for a while though, so maybe you won't be able to test it until you get back from holiday. Have a good holiday, anyhow! Forget all about TeeChart and Digital Certificates (and forget about everything else, for that matter :wink: ) ! Thanks. For a while == how long? :) I'm...
by bairog
Fri Jan 23, 2009 12:20 pm
Forum: .NET
Topic: New teeChartV2 versions' startup problem
Replies: 27
Views: 43072

Mmm. Well, what you could do is create an "empty" UserControl and then sign it with a "fake" Digital Certificate to see if the problem occurs there. I could then create an "empty" UserControl and then sign it with Steema's Digital Certificate to see if the problem is specific to Steema's Digital Ce...
by bairog
Fri Jan 23, 2009 12:17 pm
Forum: .NET
Topic: New teeChartV2 versions' startup problem
Replies: 27
Views: 43072

Chris wrote: Well, if we don't resolve it today, we'll continue trying next week, no?
Unfortunately I will have vacations till 1 Feb :(