You said 2 seconds ... so if it takes 650ms to draw the chart, where are the other 1350ms being spent?tms4000 wrote:I setup a BeforeDraw and AfterDraw event handler and have more accurate timing as a result.
It takes roughly 650ms to draw the bar chart.
Search found 1603 matches
- Fri Jul 04, 2014 10:30 am
- Forum: .NET
- Topic: Performance optimization under windows CE (.NET CF)
- Replies: 15
- Views: 21101
Re: Performance optimization under windows CE (.NET CF)
- Fri Jul 04, 2014 10:27 am
- Forum: .NET
- Topic: Performance optimization under windows CE (.NET CF)
- Replies: 15
- Views: 21101
Re: Performance optimization under windows CE (.NET CF)
I don't think I'm using gradients in my chart, I don't have any code that explicitly turns them on. Are gradients enabled by default? Is there code I should be using the explicitly turn them off? Yes, gradients are enabled by default - you could turn them off with: tChart1.Panel.Gradient.Visible = ...
- Fri Jul 04, 2014 10:15 am
- Forum: .NET
- Topic: Mouse cursor changing when hovering invisible chart series
- Replies: 2
- Views: 5070
Re: Mouse cursor changing when hovering invisible chart series
Hello Steven, Is there a way to not change the mouse cursor when hovering over invisible parts of this line? This is unfortunately a defect which I have added to our bug tracking software with id=827 . As a workaround, you could try something like the following: private void InitializeChart() { tCha...
- Fri Jul 04, 2014 8:19 am
- Forum: .NET
- Topic: Annotation tool drawing order
- Replies: 1
- Views: 5235
Re: Annotation tool drawing order
Petr, My suggestion is that you do your custom drawing in an event that occurs before the AfterDraw event. There are several options, e.g. private void InitializeChart() { Bar bar = new Bar(tChart1.Chart); bar.FillSampleValues(); Annotation anno = new Annotation(tChart1.Chart); anno.Shape.CustomPosi...
- Thu Jul 03, 2014 9:02 am
- Forum: .NET
- Topic: Performance optimization under windows CE (.NET CF)
- Replies: 15
- Views: 21101
Re: Performance optimization under windows CE (.NET CF)
I'm using the barchart series type.. Is there a way to update the series data by only changing the values that change? Instead of clearing the series and repopulating them? If I took this approach would there be a performance gain? No, I don't think so, as the whole chart will still have to be repa...
- Wed Jul 02, 2014 8:42 am
- Forum: .NET
- Topic: Tchart and reporting services for SQL Server 2008 R2
- Replies: 3
- Views: 5798
Re: Tchart and reporting services for SQL Server 2008 R2
Adrian, SQL Reporting Services TeeChart.NET includes a palette component for Reporting Services. means, it can be found on the Features page at http://www.steema.com/teechart/net I can confirm that support for SQL reporting services has been dropped from TeeChart.NET. The reason for this was quite s...
- Wed Jul 02, 2014 8:25 am
- Forum: .NET
- Topic: Performance optimization under windows CE (.NET CF)
- Replies: 15
- Views: 21101
Re: Performance optimization under windows CE (.NET CF)
Which series type are you using? As a first step, try using a FastLine series type, the best performing series type, to see what difference that makes.tms4000 wrote:Are there any settings that have a large effect on screen paint performance that I should be wary of using?
- Tue Jul 01, 2014 8:21 am
- Forum: .NET
- Topic: Title of the Point
- Replies: 13
- Views: 21535
Re: Title of the Point
Hello, I am saving all the information of chart in list object and close the form. my requirement is, when i open the form then data present in list should show in chart. this time above line gives error. Would you be so kind as to produce a short, self contained, correct (compilable) example with w...
- Wed Jun 11, 2014 4:11 pm
- Forum: .NET
- Topic: Legend with Alignment = Button not centering
- Replies: 7
- Views: 10212
Re: Legend with Alignment = Button not centering
Can I remove the box around it without resorting to drawing the legend myself? To do that you need: tChart1.Legend.Transparent = true; which you could use in addition to e.g. tChart1.Legend.ColumnWidthAuto = false; tChart1.Legend.ColumnWidths = new int[2] { 10, 300 }; tChart1.Legend.Symbol.Width = ...
- Wed Jun 11, 2014 2:53 pm
- Forum: .NET
- Topic: Legend with Alignment = Button not centering
- Replies: 7
- Views: 10212
Re: Legend with Alignment = Button not centering
Is there any way to Remove the box around the legend? In a perfect world, I would like to position the legend like so http://i57.tinypic.com/69q16g.png Is that possible? Possibly the easiest thing to do here is to draw your own "legend", e.g. private void InitializeChart() { Random rnd = new Random...
- Wed Jun 11, 2014 2:22 pm
- Forum: .NET
- Topic: Teechart Display area
- Replies: 7
- Views: 11128
Re: Teechart Display area
I am marking point in top,bottom,left and right but point is not marked and visible in that area, i have crosschecked the code and i have not set any top bottom,left and right margin. if i draw any line and i want to show the line in whole are then it left few margin from top and bottom and vice ve...
- Tue Jun 10, 2014 4:12 pm
- Forum: .NET
- Topic: Slow chartmap template load
- Replies: 18
- Views: 22637
Re: Slow chartmap template load
Hello, I've recently update my teeChart licence and want to ask if any further research was made about this topic, it keeps being too important to my App to solve it. I'm afraid the only way so far we have been able to speed the import of serialized TCharts with Map series in them is to separate out...
- Tue Jun 10, 2014 4:08 pm
- Forum: .NET
- Topic: LegendCheckBoxes not working propperly.
- Replies: 10
- Views: 12824
Re: LegendCheckBoxes not working propperly.
Hello, I was searching for the bug TW77012763 in the versión list but it seems it not appear. Was the problem solved? The bug is still open with id=388 as can be seen here . This bug database is public, so please feel free to comment on it. I have made a request for the development team to reapprais...
- Tue Jun 10, 2014 3:52 pm
- Forum: .NET
- Topic: How to fit all the lines into a chart
- Replies: 35
- Views: 47194
Re: How to fit all the lines into a chart
1) and 2). That is totally right. I have no doubt in that. May I ask, how to perform an automatic zoom that fits all polygon in a given Chart rectangle? Without the use of IsoVertAxes or IsoHorizAxes there is no problem whatsoever. With the use of IsoVertAxes or IsoHorizAxes things become more prob...
- Tue Jun 10, 2014 3:05 pm
- Forum: .NET
- Topic: How to fit all the lines into a chart
- Replies: 35
- Views: 47194
Re: How to fit all the lines into a chart
On calculating appropriate ratios in maintaining the aspect-ratio, I believe it should also take the Chart bounds into consideration so it may be possible to put all the drawings inside the chart. * Just a vague idea. I do not know whether the above is valid at all. If valid, I treat this as a feat...