Search found 128 matches

by bairog
Wed Apr 24, 2019 2:59 pm
Forum: .NET
Topic: Is it possible to use TeeChart v4 Pro in WinForms application (.NET Core 3 preview)
Replies: 18
Views: 43272

Is it possible to use TeeChart v4 Pro in WinForms application (.NET Core 3 preview)

Hello. I'm using Visual Studio 2019 Pro (16.0.2) and .NET Core 3 SDK Preview 4 . I've create application from a Windows Forms App (.NET Core) template and added Steema.TeeChart.NET nuget package to my project (4.2019.3.15). After that I've created Steema.TeeChart.Chart variable (because there is no ...
by bairog
Wed Jan 30, 2019 6:03 am
Forum: .NET
Topic: Setting axis maximum doesn't work in BeforeDrawAxes event (only in BeforeDraw event)
Replies: 1
Views: 8111

Setting axis maximum doesn't work in BeforeDrawAxes event (only in BeforeDraw event)

Hello. I'm using TeeChart Pro 4.2018.12.17 and I use the following code: using System; using System.Windows.Forms; using Steema.TeeChart; namespace TeeChartTest { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { tChar...
by bairog
Tue Jan 15, 2019 4:05 pm
Forum: .NET
Topic: Howto set axis title posistion to the end of the axis?
Replies: 4
Views: 12364

Re: Howto set axis title posistion to the end of the axis?

Thx, it's working now.
by bairog
Mon Jan 14, 2019 1:37 pm
Forum: .NET
Topic: Howto set axis title posistion to the end of the axis?
Replies: 4
Views: 12364

Re: Howto set axis title posistion to the end of the axis?

One way would be draw your custom text directly to the Chart, e.g. I've slightly modified your code to make axis title be above all axis labels and to respect tChart1.Axis.Left.Title.Font setting (which is Calibri, 12pt, Bold in my case): g.TextOut((tChart1.Axis.Left.Title.Font, bottomRect.X + bott...
by bairog
Fri Jan 11, 2019 9:37 am
Forum: .NET
Topic: Howto set axis title posistion to the end of the axis?
Replies: 4
Views: 12364

Howto set axis title posistion to the end of the axis?

Hello. I'm using TeeChart Pro 4.2018.12.17 . As far as I can see I cannot set axis title position via TeeChart Editor: By default it is located in the middle of the axis (to the left of labels in case of left axis and below labels in case of bottom axis): But I want it to be at the end of axis (in a...
by bairog
Wed Jan 09, 2019 7:36 am
Forum: .NET
Topic: Chart printing questions
Replies: 7
Views: 20835

Re: Chart printing questions

Yes, very difficult to match up the outcome of the font size if you're working with a bitmap that will be stretched/resized according to where it's output. There are alternative techniques though if you wish to output shapes and text to the Chart, You could use the OnAfterDraw method. This limits t...
by bairog
Wed Jan 02, 2019 5:19 pm
Forum: .NET
Topic: Chart printing questions
Replies: 7
Views: 20835

Re: Chart printing questions

Re 2. Grid Pen With respect to Axis Grid. It seems that 'special' line pens, dash, dot etc, scale differently to solid lines. A solid line appears to keep its dimension rather better, we'll look into options. Regarding dash line: if you copy-paste print-previewed chart to any image editor and zoom ...
by bairog
Wed Jan 02, 2019 5:04 pm
Forum: .NET
Topic: TeeChart Editor issues
Replies: 2
Views: 8865

Re: TeeChart Editor issues

This is expected behavior. The TextRenderingHint property of the Aspect class is independent of the Quality property of the Font class even though the two properties are of the same type (System.Drawing.Text.TextRenderingHint). This was designed to enable each instance of the Font class to use a pa...
by bairog
Tue Jan 01, 2019 5:49 pm
Forum: .NET
Topic: Chart printing questions
Replies: 7
Views: 20835

Re: Chart printing questions

Hello, in order to facilitate the resolution of defects which occur in more complex situations, such as your issue with printing, we ask our clients to produce a Minimal, Complete, and Verifiable example ('mcve') with which we can reproduce the issue here (an mcve is defined on this page ) - would ...
by bairog
Sat Dec 29, 2018 6:45 am
Forum: .NET
Topic: Chart printing questions
Replies: 7
Views: 20835

Chart printing questions

Hello. I'm using TeeChart Pro 4.2018.12.17 and I have a form with chart that looks somewhat like the following: https://i.imgur.com/Qx8R9A3.jpg Chart title (it will be visible only at print preview) has exact the same font as labels and textboxes on the top ( Calibri, 12pt ). Axes lines have width =...
by bairog
Sat Dec 29, 2018 6:23 am
Forum: .NET
Topic: TeeChart Editor issues
Replies: 2
Views: 8865

TeeChart Editor issues

Hello. I'm using TeeChart Pro 4.2018.12.17 and facing the following issues with TeeChart Editor (ringh click on chart and then "Edit"): If I open any "Text" settings block (for example for "Titles"): https://i.imgur.com/FuylgMK.jpg and change "Font quality" to, for example, AntiAlias - then the foll...
by bairog
Fri Dec 14, 2018 10:28 am
Forum: .NET
Topic: Howto display two bar series one over another (one is solid color, another is gradient)
Replies: 4
Views: 12266

Re: Howto display two bar series one over another (one is solid color, another is gradient)

Rather than actually painting one bar over another, you can paint one bar on top of another and get the same effect, e.g. Ahh, that was so easy... I should have guessed by myself. Thank you. Yes, this is possible using the 'Border' button: I didn't noticed that option because setting it doesn't cha...
by bairog
Fri Dec 14, 2018 4:09 am
Forum: .NET
Topic: Howto display two bar series one over another (one is solid color, another is gradient)
Replies: 4
Views: 12266

Re: Howto display two bar series one over another (one is solid color, another is gradient)

2) If no - how can I display two bar series one above another? You can use the MultiBar property to stack Bar series, e.g. It was my misprint - not one above another, but one over another. It looks like that (but green, yellow and red color is needed be gradient): https://i.imgur.com/C511nqo.jpg 1)...
by bairog
Thu Dec 13, 2018 10:53 am
Forum: .NET
Topic: Howto display two bar series one over another (one is solid color, another is gradient)
Replies: 4
Views: 12266

Howto display two bar series one over another (one is solid color, another is gradient)

Hello. Lets say we have a set of sample values (each one is between MinValue and MaxValue). And for each sample we need to do the following: Draw a bar representing MaxValue with a solid Gray color Draw a bar representing sample value with a gradient color: close to MinValue is green, middle is yell...
by bairog
Wed Dec 12, 2018 5:30 am
Forum: .NET
Topic: TeeChart.OpenGL.dll missing from TeeChart 2018 Pro
Replies: 3
Views: 10788

Re: TeeChart.OpenGL.dll missing from TeeChart 2018 Pro

This assembly is deprecated If this assembly is deprecated, then: what is the successor technology you suggest for today (I was using TeeOpenGL class for 3D charts)? for what reason TeeChart online documentation ( http://www.teechart.net/docs/TeeChartNETReference.htm ) still have information about ...