Problem with plotting bar graph

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Innervations
Newbie
Newbie
Posts: 6
Joined: Mon Aug 21, 2017 12:00 am

Problem with plotting bar graph

Post by Innervations » Sun Oct 08, 2017 7:37 am

I am having a small issue plotting a simple bar chart.

The problem I'm having is that the first data point plotting a bar chart appears as a single line rather than a bar. Here is a link to a small video demonstrating the problem
ftp://innervations.dyndns-server.com/DO ... roblem.MP4

Here is a snippet of the source code that actually updates the TeeChart:

If Val(LabelCount.Text) > bars Then 'to stop add the same bar twice
If targetmet Then
If CheckBoxAudioFeedback.Checked Then My.Computer.Audio.Play(oversoundfile, AudioPlayMode.Background)
Bar1.Add(Val(LabelCount.Text), Val(LabelValue.Text), Color.Green)
bars = bars + 1
Else
If CheckBoxAudioFeedback.Checked Then My.Computer.Audio.Play(undersoundfile, AudioPlayMode.Background)
Bar1.Add(Val(LabelCount.Text), Val(LabelValue.Text), Color.Red)
bars = bars + 1
End If
End If

Any assistance to resolve this issue would be greatly appreciated.

Sincerely,
Rob

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Problem with plotting bar graph

Post by Christopher » Mon Oct 09, 2017 11:32 am

Hello Rob,

Yes, this issue was resolved in issue number 1794:
http://bugs.teechart.net/show_bug.cgi?id=1794

the resolution is present in build 4.1.2017.02140 released on 14th March 2017.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Innervations
Newbie
Newbie
Posts: 6
Joined: Mon Aug 21, 2017 12:00 am

Re: Problem with plotting bar graph

Post by Innervations » Mon Oct 09, 2017 12:06 pm

Brilliant. Thanks Christopher. I will download and install latest TeeChart now.

Cheers
Rob

Innervations
Newbie
Newbie
Posts: 6
Joined: Mon Aug 21, 2017 12:00 am

Re: Problem with plotting bar graph

Post by Innervations » Tue Oct 10, 2017 9:12 am

Have downloaded and installed TeeChart .NET Version 4.1.2017.2142. Install ran fine - no problem. I removed the reference to the older version and added the latest TeeChart.dll to the .NET references for my application (screen shot attached).

When I build and run my application I get the error that code generation could not load the old TeeChart.dll or one of its dependencies (screen shot attached).

Is there something else I have to change to update Visual Studio 2015 and my application to use the Version 4.1.2017.2142?

Thanks
Rob
Attachments
runtime error.jpg
Error on running app
runtime error.jpg (42.13 KiB) Viewed 10316 times
application references.jpg
Screen shot of application references
application references.jpg (249.02 KiB) Viewed 10316 times

Innervations
Newbie
Newbie
Posts: 6
Joined: Mon Aug 21, 2017 12:00 am

Re: Problem with plotting bar graph

Post by Innervations » Tue Oct 10, 2017 10:02 am

Success!

I uninstalled and reinstalled the latest .NET version of TeeChart and all is working fine now.

Best Regards
Rob

Post Reply