Search found 1603 matches

by Christopher
Thu Nov 13, 2014 4:17 pm
Forum: .NET
Topic: Line series visibility changes on re-sizing chart
Replies: 2
Views: 6044

Re: Line series visibility changes on re-sizing chart

Please suggest if there exists any solution to fix this issue. Any help will be really appreciable. Interesting problem, from a programmer's point of view, but apologies for this issue from a business-client point of view. I have found and resolved the issue, but unfortunately it requires a source-...
by Christopher
Thu Nov 13, 2014 2:53 pm
Forum: .NET
Topic: visible Property of Rectangle tool
Replies: 3
Views: 6691

Re: visible Property of Rectangle tool

amol wrote: Is there any property or method in rectangle tool to make it visible or active other than "ActiveProperty". Because we want to hide/Unhide Rectangle tool without using "Active" property.
The Active property is designed to hide/unhide the rectangle tool - why can't you use it?
by Christopher
Thu Nov 13, 2014 2:52 pm
Forum: .NET
Topic: Save Image of Multiple Chart
Replies: 8
Views: 13870

Re: Save Image of Multiple Chart

A demo project is attached of above mail. Please find. This seems to be a limitation of the Control.DrawToBitmap Method : The DrawToBitmap method is not supported for ActiveX controls. You can override the OnPrint event and provide custom printing logic if required. The DrawToBitmap method has the ...
by Christopher
Thu Nov 13, 2014 9:33 am
Forum: .NET
Topic: Legend checkbox will be twinkle when I move CursorTool
Replies: 3
Views: 8539

Re: Legend checkbox will be twinkle when I move CursorTool

Hello, I use the TeeChart in the wpf application, and add the CursorTool in it, but when I move the cursor ,the checkbox in the legend will be twinkle. Is this a bug? The Steema.Teechart.WPF.Legend.CheckBoxes property is now marked with: System.Obsolete("Legend Checkbox property deprecated from Tee...
by Christopher
Fri Nov 07, 2014 1:52 pm
Forum: .NET
Topic: Problems with legend
Replies: 1
Views: 4133

Re: Problems with legend

Hello,

The issue here is that the legend is limited in the source code by the height and width of tChart.Chart.ChartRect ... the width cannot be greater than the width of ChartRect, that's why when you resize the WinForm and the TChart gets smaller the legend will resize.
by Christopher
Fri Nov 07, 2014 8:35 am
Forum: .NET
Topic: Problems with multi Axes
Replies: 9
Views: 13296

Re: Problems with multi Axes

Friis wrote:Thank you for helping me ;-)
You are very welcome :)

Please do not hesitate to contact us with any further TeeChart issues.
by Christopher
Thu Nov 06, 2014 3:24 pm
Forum: .NET
Topic: Problems with multi Axes
Replies: 9
Views: 13296

Re: Problems with multi Axes

Hi Try: private void PlaceAxes(int NextXLeft, int NextXRight, int MargLeft, int MargRight) { const int extraPos = 50; const int extraMargin = 105; //Variable int MaxLabelsWidth; int lenghtTicks; int extraSpaceBetweenTitleAndLabels; for (int nSeries = 0; nSeries < tChart1.Series.Count; nSeries++) { ...
by Christopher
Thu Nov 06, 2014 2:58 pm
Forum: .NET
Topic: Problems with multi Axes
Replies: 9
Views: 13296

Re: Problems with multi Axes

Hello, To resolve the issue you speak of, all that is necessary is the following change: private void checkBox3_CheckedChanged(object sender, EventArgs e) { tChart1[2].Active = checkBox3.Checked; tChart1.Axes.Custom[2].Visible = tChart1[2].Active; tChart1.Draw(); //<- here PlaceAxes(2, 0, 0, 0, 0); ...
by Christopher
Thu Nov 06, 2014 10:10 am
Forum: .NET
Topic: Problems with multi Axes
Replies: 9
Views: 13296

Re: Problems with multi Axes

Hello! Your code needs some more work, but using only checkBox1 I think it will function as expected with the following two changes: 1) for (int i = 0; i < tChart1.Axes.Custom.Count; i++) { tChart1.Axes.Custom[i].Title.Angle = 90; tChart1.Axes.Custom[i].PositionUnits = Steema.TeeChart.PositionUnits....
by Christopher
Mon Nov 03, 2014 10:56 am
Forum: .NET
Topic: Export chart to xaml icons disappear
Replies: 9
Views: 12746

Re: Export chart to xaml icons disappear

Thanks for your answer. You're very welcome. An alternative way to solve the issue is the following: using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Security.AccessControl; using System.Text; using System.Threading.Tasks; using System.Windows; using ...
by Christopher
Fri Oct 31, 2014 11:52 am
Forum: .NET
Topic: Save Image of Multiple Chart
Replies: 8
Views: 13870

Re: Save Image of Multiple Chart

Hello! This isn't really a TeeChart issue per se, as TeeChart is perfectly capable of exporting itself to an image. If you want to combine two (or more) images to one image, you can create a new bitmap then paint each image onto it. First create a bitmap at runtime , then create the graphics from th...
by Christopher
Thu Oct 30, 2014 9:52 am
Forum: .NET
Topic: Resize Rectangle Tool
Replies: 1
Views: 4281

Re: Resize Rectangle Tool

Have you tried changing the font size in the resize event, e.g. RectangleTool tool; private void InitializeChart() { tChart1.Series.Add(typeof(Line)).FillSampleValues(); tool = new RectangleTool(tChart1.Chart); tool.Shape.Transparency = 0; tool.Text = "This is" + Utils.NewLine + "some example" + Uti...
by Christopher
Tue Oct 28, 2014 3:54 pm
Forum: .NET
Topic: Export chart to xaml icons disappear
Replies: 9
Views: 12746

Re: Export chart to xaml icons disappear

When exporting the chart to bitmap the icons do show up. We need the icons to show when exporting to xaml.. d You can add them in manually to the XAML file, e.g. <Image Canvas.Left="20" Canvas.Top="10" Source="D:\Downloads\TChartXamlBug\TChartXamlBug\WpfApplication54\WpfApplication54\pic20.png"/> <...
by Christopher
Mon Oct 27, 2014 9:38 am
Forum: .NET
Topic: Legend with Continous = true and formatting of legind text
Replies: 12
Views: 17046

Re: Legend with Continous = true and formatting of legind text

Friis wrote:just adds a title to the chart itself ?
Try:

Code: Select all

      legendPalette1.Axes.Chart.Header.Visible = true;
      legendPalette1.Axes.Chart.Header.Text = "asasas";
by Christopher
Mon Oct 27, 2014 9:33 am
Forum: .NET
Topic: Legend with Continous = true and formatting of legind text
Replies: 12
Views: 17046

Re: Legend with Continous = true and formatting of legind text

This looks like a bug to me. I have added it ( ID971 ) to the bug list to be fixed for future releases. Yes; in the meantime, a simple workaround is this: private void InitializeChart() { tChart1.Series.Add(new ColorGrid()).FillSampleValues(); Steema.TeeChart.Tools.LegendPalette legendPalette1 = ne...