Search found 35 matches

by dave
Tue Jul 31, 2007 4:56 am
Forum: .NET
Topic: X Axis Showing dd-MM only
Replies: 3
Views: 6891

Hi Edu,

Pls ignore my question. I've managed to plot what I wanted by substituting the years with a common year (for example, 2000), then setting the x-axis format to "dd-MM".

Thanks.
by dave
Mon Jul 30, 2007 11:38 pm
Forum: .NET
Topic: X Axis Showing dd-MM only
Replies: 3
Views: 6891

Hi Edu, This will not work because, like I said earlier, my current x-axis values are integer from 0 to 365. My series is filled by the following code: DateTime startYear = new DateTime(2007, 01, 01); for (int i = 0; i<dRow.Length; i++) { DateTime currentDate = Convert.ToDateTime(dRow[i]["date"].ToS...
by dave
Mon Jul 30, 2007 6:24 am
Forum: .NET
Topic: X Axis Showing dd-MM only
Replies: 3
Views: 6891

X Axis Showing dd-MM only

Hi,

I've got a chart which currently compares line series from different years, therefore the x-axis goes from 0 to 365. I would like it to have dd-MM format instead. How could I do this?

Thanks.
by dave
Fri Jul 27, 2007 6:43 am
Forum: .NET
Topic: Dynamic multiple charts
Replies: 2
Views: 4947

After trying for a while, I roughly got what I wanted but with a few problems. This is my code: [/img] tChart1.Aspect.View3D = false; tChart1.Series.RemoveAllSeries(); tChart1.Tools.Clear(); tChart1.Legend.Alignment = Steema.TeeChart.LegendAlignments.Bottom; tChart1.Legend.CheckBoxes = true; int lin...
by dave
Fri Jul 27, 2007 12:28 am
Forum: .NET
Topic: Dynamic multiple charts
Replies: 2
Views: 4947

Dynamic multiple charts

Hi, Currently, if I don't use RemoveAllSeries and Tool.Clear, each time I run a series chart, the new series will be added to the same chart as the previous series, with a common vertical & horizontal axis. Is it possible, if on each run, the new series will appear with its own vertical & horizontal...
by dave
Thu May 24, 2007 6:28 am
Forum: .NET
Topic: freeze function?
Replies: 1
Views: 4096

freeze function?

Hi, I've seen some applications which allow users to freeze the series on the chart (right-click and there will be a freeze option) and when the user plots a new series, the earlier series will show up on the same chart. There's no limit to how many series that can be freezed and added to the chart....
by dave
Mon May 14, 2007 12:34 am
Forum: .NET
Topic: Series intersect
Replies: 13
Views: 17767

Thanks Edu, I managed to get it to work. Cheers!
by dave
Mon May 14, 2007 12:05 am
Forum: .NET
Topic: Gantt chart & MarksTip?
Replies: 3
Views: 6413

Thanks Edu. I tried using the ClickSeries event, but it doesn't work properly for 3D gantt charts (it'll only work if I click on the small rectangle section of the series). I guess this is due to the same reason as MarkTips not working in 3D series?
by dave
Fri May 11, 2007 6:58 am
Forum: .NET
Topic: Gantt chart & MarksTip?
Replies: 3
Views: 6413

Gantt chart & MarksTip?

Can MarksTip work with Gantt chart? I've tried but can't seem to work. If not, is there anyway I could have a mouseover on the Gantt Chart to show the description (Y-axis value)?

Thanks.
by dave
Fri May 11, 2007 6:47 am
Forum: .NET
Topic: Series intersect
Replies: 13
Views: 17767

Hi Edu,

Thanks for the sample code. However, I only add the series in the code, so I'm just wondering how I could set on_CrossPoints and on_Lines in the tChart1_MouseMove procedure?
by dave
Thu May 10, 2007 11:37 pm
Forum: .NET
Topic: Gantt chart not redrawing chart
Replies: 4
Views: 6068

Hi Narcis,

I managed to solve it. Silly error really, I forgot to clear my datatable upon refresh.

Thanks anyway.

Cheers!
by dave
Thu May 10, 2007 12:48 am
Forum: .NET
Topic: Dynamically generating series color
Replies: 2
Views: 5180

Thanks Edu... it works :D
by dave
Wed May 09, 2007 11:27 pm
Forum: .NET
Topic: .NET2 plotting vertical line on datetime series
Replies: 7
Views: 12493

Thanks Edu, I checked it against Axis.MaxXValue & Axis.MinXValue and it works.

Cheers!
by dave
Wed May 09, 2007 6:29 am
Forum: .NET
Topic: Dynamically generating series color
Replies: 2
Views: 5180

Dynamically generating series color

Hi,

I've a chart with white background and if dynamically generated series. How could I make sure that the colours assigned to these series are not white? Or to have the series only using a range of colours that would go well with a white background.

Thanks.
by dave
Wed May 09, 2007 6:21 am
Forum: .NET
Topic: .NET2 plotting vertical line on datetime series
Replies: 7
Views: 12493

Hi Edu, I notice that when I use ColorLine, the line could be plotted outside the vertical axis. For example, when I set have colorLine1.Value = DateTime.Today.ToOADate(); but the vertical axis contains date before the colorLine1.Value date, the line is plotted on the right hand side of the right ve...