Search found 23 matches

by MattG
Thu Apr 03, 2014 10:42 pm
Forum: .NET
Topic: Add custom theme to list of themes on TeeChart Editor
Replies: 1
Views: 5117

Add custom theme to list of themes on TeeChart Editor

Using Windows XP, we could add a custom theme to the list of themes in the TeeChart Editor by saving the custom theme to a directory (example: "c:\_chart_themes"), then creating a registry key [HKEY_LOCAL_MACHINE\SOFTWARE\Steema Software\TeeChart.NET] then adding an item under that key: "ThemeFolder...
by MattG
Mon Jan 20, 2014 4:57 pm
Forum: .NET
Topic: Hide "Chart" tab in editor
Replies: 2
Views: 7342

Re: Hide "Chart" tab in editor

Thanks Christopher, Main worked to hide Chart. I thought I tried that one previously, but I guess not.
by MattG
Fri Jan 17, 2014 6:44 pm
Forum: .NET
Topic: Hide "Chart" tab in editor
Replies: 2
Views: 7342

Hide "Chart" tab in editor

I can hide every main tab in Steema::TeeChart::Editor except the one called "Chart" using the Steema::TeeChart::Editors::ChartEditorTabs enum. But "Chart" is not one of the enum values. How do I hide the "Chart" tab?

Thanks,
Matt
by MattG
Fri Jan 17, 2014 5:34 pm
Forum: .NET
Topic: Customize ExportEditor
Replies: 6
Views: 11235

Re: Customize ExportEditor

Thanks Sandra, this appears to be working now.

Matt
by MattG
Thu Jan 16, 2014 10:56 pm
Forum: .NET
Topic: export image size regenerates plot
Replies: 1
Views: 5608

export image size regenerates plot

I've been using Tchart->Export->Image->PNG->Width and Height to control the size of exported images. When these are different than the displayed plot size, the exporter regenerates the plot, changing the number of gridlines, etc. Is there a way to specify an export size that results in resampling th...
by MattG
Sat Jan 04, 2014 12:10 am
Forum: .NET
Topic: change text export file encoding?
Replies: 3
Views: 7744

Re: change text export file encoding?

Hi Sandra, Yes, that worked. Thank you. I used TeeChart for .NET 4.1.2013.11080 and the following C++/CLI code: using namespace Steema::TeeChart; using namespace System::IO; Export::DataExport ^SteemaDe = gcnew Export::DataExport(tchart->Chart); SteemaDe->Text->TextDelimiter = ","; SteemaDe->Text->T...
by MattG
Mon Dec 23, 2013 4:10 pm
Forum: .NET
Topic: get rid of comma thousands separator in export
Replies: 8
Views: 14802

Re: get rid of comma thousands separator in export

Hi Sandra,

Thank you for the example code.

I was able to control the export format using:

Code: Select all

tChart1[i]->ValueFormat = MyFormatString;
Thanks,
Matt
by MattG
Thu Oct 31, 2013 7:22 pm
Forum: .NET
Topic: get rid of comma thousands separator in export
Replies: 8
Views: 14802

Re: get rid of comma thousands separator in export

Okay, I just updated to TeeChart 4.1.2013.5280 for .NET2.0 in the legacy .NET3.5 project, so now I'm using 4.1.2013.528x for a .NET4.0 project and for the .NET3.5 project. The .NET4.0 program uses the regional settings as described, but the .NET3.5 program still does not, i.e., I'm still seeing comm...
by MattG
Thu Oct 31, 2013 6:03 pm
Forum: .NET
Topic: get rid of comma thousands separator in export
Replies: 8
Views: 14802

Re: get rid of comma thousands separator in export

Hi Sandra, I haven't had a chance yet to try FormatNumber or InvariantCulture. Instead, I was looking at another piece of legacy code I maintain; this one references TeeChart v4.0.2010 for .NET 2.0. Unfortunately, it does not seem to check the Region and Language Settings and instead always outputs ...
by MattG
Thu Oct 31, 2013 5:58 pm
Forum: .NET
Topic: Clone a TChart
Replies: 2
Views: 6145

Re: Clone a TChart

Okay, thank you Sandra. For now I'll just update the properties I'm interested in manually. This is fine for the limited things I'm currently doing with the clone, but would not be acceptable if I needed a true clone.

Matt
by MattG
Thu Oct 31, 2013 2:51 am
Forum: .NET
Topic: change text export file encoding?
Replies: 3
Views: 7744

change text export file encoding?

When I export a text file, it is encoded as UCS-2 Little Endian. Can I change this? I'd like to encode it as UTF-8. A little background: I'm exporting comma-delimited text files with the extension csv. I'd like to be able to double-click them in Windows and have Excel open them correctly, but everyt...
by MattG
Wed Oct 30, 2013 11:56 pm
Forum: .NET
Topic: Clone a TChart
Replies: 2
Views: 6145

Clone a TChart

What is the best way to clone a TChart in C++/CLI? I've been using the following but it creates an incomplete clone. For example, the Series->XValues->Name property is reset to 'X', even though it had a custom value in the original TChart. Here I'm cloning the TChart tc into the TChart tchart: tchar...
by MattG
Wed Oct 30, 2013 11:50 pm
Forum: .NET
Topic: Meaningful export header?
Replies: 2
Views: 6256

Re: Meaningful export header?

Excellent. That worked. I used the following in C++/CLI: Steema::TeeChart::Styles::Line ^line = gcnew Steema::TeeChart::Styles::Line(); line->XValues->Name = "TIME"; line->YValues->Name = seriesName; ... tChart1->Series->Add(line); ... SteemaDe = gcnew Export::DataExport(tChart1->Chart); SteemaDe->T...
by MattG
Mon Oct 28, 2013 10:55 pm
Forum: .NET
Topic: Meaningful export header?
Replies: 2
Views: 6256

Meaningful export header?

When I export to a text file, I get useless headers. Instead of what I want, which looks like this: TIME,MAIN.T3 0,293.15 50,293.15 100,293.15 I get this instead: MAIN.T3,, X,Y 0,293.15 50,293.15 100,293.15 What series properties do I set to change X to 'TIME' and Y to the series title? I'm using C+...
by MattG
Mon Oct 28, 2013 10:33 pm
Forum: ActiveX
Topic: How to export selected series only
Replies: 8
Views: 18023

Re: How to export selected series only

Thanks Yeray. That worked. I cloned the chart and removed the unwanted series from the clone, then exported. I was actually using .NET; the existing forum thread happened to be in ActiveX.