Search found 36 matches

by Vivo
Fri Dec 12, 2008 4:19 pm
Forum: ActiveX
Topic: International numbers
Replies: 6
Views: 12991

Hello, I'm not sure what kink of format you're trying to show. By default Teechart gives the decimal and thousand format defined into the regional settings. As this depends on each machine, you have the ability to check the format used with the following code : TChart1.Environment.DecimalSeparator ...
by Vivo
Fri Oct 24, 2008 5:52 pm
Forum: ActiveX
Topic: International numbers
Replies: 6
Views: 12991

I'm trying to accomplish to have numbers show with a subset of characters to use as thousand separators and decimal point. Some languages use a . for thousand and a , for the decimal point. I really need this flexibility. Does it exist?
by Vivo
Thu Oct 09, 2008 6:17 pm
Forum: ActiveX
Topic: International numbers
Replies: 6
Views: 12991

So I take it nobody knows anything about this? Very disappointing. :(
by Vivo
Wed Oct 08, 2008 6:28 pm
Forum: ActiveX
Topic: void CTChart::Draw(long, long, long, long, long)
Replies: 2
Views: 7114

Yeah, if I understand you correctly, this can be done. Use tchart's OnBeforeDraw event and then write to the DC from there. This will allow you to draw before the chart is drawn, making it look transparent. To get the DC you want, I used this function: CDC& CGraphs::GetDC() const { VARIANT & dcHandl...
by Vivo
Tue Oct 07, 2008 4:13 pm
Forum: ActiveX
Topic: International numbers
Replies: 6
Views: 12991

International numbers

Is there some way of setting the axis to display numbers that use a different thousands separator and a different fraction separator? I looked at ValueFormat, but there is very limited documentation on that, and what I have seen doesn't seem to show that it can be done. I'm using TeeChart 7.03AX Sanks
by Vivo
Fri Sep 12, 2008 3:30 pm
Forum: ActiveX
Topic: IExportFormat.SaveToStream()
Replies: 1
Views: 4351

IExportFormat.SaveToStream()

What is this function and how do I use it? Does it write the image to a variant array?
by Vivo
Thu Sep 07, 2006 6:16 pm
Forum: ActiveX
Topic: Tee chart not updating internals
Replies: 10
Views: 14028

Hi Marc, I understand what you are saying, but the inter-relation of which you speak is one of non-cyclic dependency. If I want to get a portion of the Chart Internals list to be updated, it should only need to update those nodes that it depends upon first as far back as is needed prior to updating ...
by Vivo
Thu Aug 10, 2006 2:22 pm
Forum: ActiveX
Topic: Tee chart not updating internals
Replies: 10
Views: 14028

Can you please add this to the wish list then?

Thanks.


Adrian
by Vivo
Wed Aug 09, 2006 7:33 pm
Forum: ActiveX
Topic: Tee chart not updating internals
Replies: 10
Views: 14028

Well this is better, but I would like to optimise this a bit since the InternalRepaint() function is quite slow. Is there a way of updating only one axis or only one series?

Thanks,


Adrian
by Vivo
Fri Jul 28, 2006 2:19 pm
Forum: ActiveX
Topic: Tee chart not updating internals
Replies: 10
Views: 14028

What is the difference between m_Chart1.GetEnvironment().InternalRepaint() and m_Chart1.Repaint()?


Adrian
by Vivo
Thu Jul 27, 2006 9:10 pm
Forum: ActiveX
Topic: Tee chart not updating internals
Replies: 10
Views: 14028

Oh, and please do not tell me to find out the information that I seek in the callback OnAfterDrawTChart() because it makes the code very convoluted.

Thanks,


Adrian
by Vivo
Thu Jul 27, 2006 6:25 pm
Forum: ActiveX
Topic: Tee chart not updating internals
Replies: 10
Views: 14028

Tee chart not updating internals

Argh! I am going crazy here! I need TChart to update its internals so that I can access the updated objects such a positions of series point, labels and such (in the container) after I move them, otherwise, my functions that manipulate the same objects but are called seperatly from different routes ...
by Vivo
Tue Jul 11, 2006 5:59 pm
Forum: ActiveX
Topic: ColorBandTool
Replies: 14
Views: 17669

Could you finally solve this issue using the files I sent? No, as I said before: Additionally, if I use tchart.GetTools().Add(tcRectangle) a First-chance exception is thrown (0xe06d7363). So I do not think this is going to work anyway. However, I was able to get the handle to the Device Context and...
by Vivo
Tue Jul 11, 2006 5:55 pm
Forum: ActiveX
Topic: Events being fired
Replies: 3
Views: 6398

That appears to only fire before drawing all of the axes or all of the series. I was looking for something that would fire before drawing a paticular axis or series. Do you have something like that?

Thanks,


Adrian
by Vivo
Fri Jul 07, 2006 2:25 pm
Forum: ActiveX
Topic: Events being fired
Replies: 3
Views: 6398

Events being fired

So I take it that there is no way to get events to fire prior to drawing a paticular axis or series?

Thanks,


Adrian