Challenging task

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
bsierad
Newbie
Newbie
Posts: 16
Joined: Fri Feb 29, 2008 12:00 am

Challenging task

Post by bsierad » Thu Mar 26, 2009 4:29 pm

Hey,
I got one request to improve my chart, which looked easy at first glance.
Chart is simple - I have one Line series that displays signal in volts, x- time in seconds (from 0 to about 100)
Also I have some state change data, say, from second 1 to 12 it was "Step 1", then from second 12 to 20 "Step 2", etc. Customer requested to have this info displayed as a colored bar on the top of the chart. This bar should stay still during scrolling/zooming, but should perform syncronized scrolling with main chart Bottom Axis. Each step has it's own color.
I have different ideas :
1. Put horizontal self-stacked bar in the main chart, but how do I reposition it and prevent from zooming ?
2. Simulate it with Top axis colored labels.
3. Place a subchart on top of the main one and sync both charts horizontal scrolling.
None of the above looks trivial , but which one (or another one) you think is more promising ?
Regards

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Fri Mar 27, 2009 8:33 am

Hi bsierad,

If we understand well what you would like to draw, it's quite easier than your first ideas.

Please, take a look at these tools, both at Axis tab:

Color Line
Color Band
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply