Search found 8 matches

by Sanjay
Tue Aug 02, 2016 7:59 pm
Forum: .NET
Topic: Display issue with fast line series
Replies: 7
Views: 2539

Re: Display issue with fast line series

Thanks for the reply. If I comment out the line tChart1.Axes.Left.SetMinMax(400, 900); then the line looks smooth. But this option is not going to work for me. I need to able to control the min and max of the custom axis as it is shared by multiple series. And the min and max is decided by all the p...
by Sanjay
Mon Aug 01, 2016 3:25 pm
Forum: .NET
Topic: Display issue with fast line series
Replies: 7
Views: 2539

Display issue with fast line series

Hello Sir/Madam, Attached please find a sample project that demonstrates an issue with T Chart display. Please unzip this zip file into a new folder. Open the solution it in Visual studio and run it. The program creates a fast line series and displays it. By default color of the series is blue and i...
by Sanjay
Tue Aug 21, 2012 3:48 pm
Forum: .NET
Topic: Problem in Override DrawValue method
Replies: 7
Views: 1484

Re: Problem in Override DrawValue method

It is difficult to explain without giving a long explanation. It has something to do with sharing the axis with 2/3 different series and some plotting options our users want. Any way, I am going to change my code so that series values are shifted by 15 for good instead of doing it in the override Dr...
by Sanjay
Mon Aug 20, 2012 12:54 pm
Forum: .NET
Topic: Problem in Override DrawValue method
Replies: 7
Views: 1484

Re: Problem in Override DrawValue method

Can I change the firstVisible and lastVisible value in the override of the 'Draw' method? so something like public override void Draw() { this.FirstVisible = 0; this.LastVisible = this.XValues.count - 1; base.Draw(); } If this is not possible then would you consider making this change in the future ...
by Sanjay
Fri Aug 17, 2012 8:58 pm
Forum: .NET
Topic: Problem in Override DrawValue method
Replies: 7
Views: 1484

Re: Problem in Override DrawValue method

I am not sure if the project got uploaded. But here is the code you will need in any windows form application with TChart on the form. public partial class Form1 : Form { public Form1() { InitializeComponent(); tChart1.Series.Clear(); SymbolFastLine aSeries = new SymbolFastLine(); double[] xValues =...
by Sanjay
Fri Aug 17, 2012 8:55 pm
Forum: .NET
Topic: Problem in Override DrawValue method
Replies: 7
Views: 1484

Re: Problem in Override DrawValue method

I have attached the project. Compile and run it in the debugger so that you can see the debug outout window for the messages. First time you should see the out put showing all the indexes from 1 t0 10. As you drag the plot horizontally to the left you can see the indexes go from 2 to 10, then 3 to 1...
by Sanjay
Fri Aug 17, 2012 2:25 pm
Forum: .NET
Topic: Problem in Override DrawValue method
Replies: 7
Views: 1484

Problem in Override DrawValue method

I have created a custom series classs inheriting from 'FastLine' class. I have over ridden the 'DrawValue' method where I do some custom stuff. What I am noticing is that my over ride method 'DrawValue' is not getting called for all the points on the plot. I use right click mouse to drag the plot ho...
by Sanjay
Fri Apr 16, 2010 11:13 pm
Forum: .NET
Topic: Customize the Legends
Replies: 1
Views: 400

Customize the Legends

Hello,

I have a chart with 1 series with large number of points ( > 25000 ). I do want to display the legend but I do not want to see all the points. I just would like to see first and the last point and may be few in the middle. How can achieve this customization?
Thanks for the help