Imagebar

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
cjherasmus
Newbie
Newbie
Posts: 6
Joined: Tue Nov 04, 2014 12:00 am

Imagebar

Post by cjherasmus » Wed Nov 04, 2015 9:50 am

Hi

Please find attached a screen image of my silverlight application.

How do I add a black line at the bottom and the right side of the image bar?

Also, when I export the graph to PNG the whole image bar is coloured black?

And last, each stacked image bar represents a depth interval with a top depth and bottom depth, how do I add the last bottom depth on the bottom of the left axis?

Environment:
Windows 7, VS 2012
.NET 4.0 & Silverlight 5.0
TeeChart version 4.1.2015.8063

Thanks & Regards
Attachments
steema-imagebar.jpg
Screen image from my appliation
steema-imagebar.jpg (274.5 KiB) Viewed 5612 times

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

Re: Imagebar

Post by Christopher » Thu Nov 05, 2015 3:04 pm

Hello,
cjherasmus wrote:How do I add a black line at the bottom and the right side of the image bar?
It seems that image placement is not pixel perfect, I'm afraid. The best I can offer you is to set this pen to invisible, e.g.

Code: Select all

    private void InitializeChart()
    {
      tChart1.Aspect.View3D = false;
      ImageBar bar = new ImageBar(tChart1.Chart);
      bar.FillSampleValues();

      bar.Pen.Visible = false;
    }
cjherasmus wrote: Also, when I export the graph to PNG the whole image bar is coloured black?
This works with the latest public version and the standard ImageBar series above. The image will need to be added to your project, however, e.g.

SilverlightApplication1\Images\ImageBar\Dollar.png (here
Dollar.png
Dollar.png (1.62 KiB) Viewed 5598 times
)

Which version of TeeChart.Silverlight.dll are you using?
cjherasmus wrote: And last, each stacked image bar represents a depth interval with a top depth and bottom depth, how do I add the last bottom depth on the bottom of the left axis?
I'm sorry, but I'm not entirely sure I can visualize your problem here. Could you please give me a few more details to help me?
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

Post Reply