Search found 43 matches

by Technicon
Wed Jul 05, 2017 12:06 pm
Forum: VCL
Topic: Incorrect axis area size when title using html
Replies: 1
Views: 5828

Incorrect axis area size when title using html

Hello Incorrect axis area size (height) when title using html (Build 2017.22.170619) Here Is a simple example __fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner) { Chart1->View3D = false; TLineSeries* pTLineSeries1 = new TLineSeries(Chart1); Chart1->AddSeries(pTLineSeries1); pTLineSeries1->F...
by Technicon
Fri Feb 24, 2017 6:02 am
Forum: VCL
Topic: Incorrect axis title position when using html
Replies: 9
Views: 18342

Re: Incorrect axis title position when using html

Hi,

It's good to know that resolving issues is moving forward.
Thank you for information.
Are the issue about the thread subject are also resolved?

Best Regards,
Grzegorz
by Technicon
Wed Jan 18, 2017 8:58 pm
Forum: VCL
Topic: Incorrect axis title position when using html
Replies: 9
Views: 18342

Re: Incorrect axis title position when using html

Hello Sandra, Thank you for your support and understanding. Besides the bug mentioned in the subject of this thread I'm desperately waiting form fixes to these issues: http://bugs.teechart.net/show_bug.cgi?id=1651 http://bugs.teechart.net/show_bug.cgi?id=1694 http://bugs.teechart.net/show_bug.cgi?id...
by Technicon
Wed Jan 18, 2017 12:37 pm
Forum: VCL
Topic: Incorrect axis title position when using html
Replies: 9
Views: 18342

Re: Incorrect axis title position when using html

Hello, Thank you for your help but I was rather expect some TeeChart source code hotfix and BTS report. There is to many glitches in TeeChart that I have to bypass and because of that I'm not able to finish my project. I'm still waiting for some other fixes to. In BTS I see confirmed errors that are...
by Technicon
Tue Jan 17, 2017 12:31 pm
Forum: VCL
Topic: Incorrect axis title position when using html
Replies: 9
Views: 18342

Incorrect axis title position when using html

Hello Incorrect axis title position when angle = 0 and TextFormat = ttfHtml (multi line) Here Is a simple example void __fastcall TForm1::FormCreate(TObject *Sender) { Chart1->View3D = false; TLineSeries* pTLineSeries = new TLineSeries(Chart1); Chart1->AddSeries(pTLineSeries); pTLineSeries->FillSamp...
by Technicon
Mon Jan 16, 2017 12:02 pm
Forum: VCL
Topic: Axis title text doesn't obey html format
Replies: 5
Views: 11446

Re: Axis title text doesn't obey html format

Yes I can confirm
But You have to use html tag <BR> in text eg.

Code: Select all

Chart1->Axes->Left->Title->Text = "Html<BR>text";
GDI+ enable
gdipen.png
gdipen.png (22.12 KiB) Viewed 11509 times
GDI+ disabled
gdipdis.png
gdipdis.png (17.2 KiB) Viewed 11507 times
Best Regards,
Grzegorz
by Technicon
Mon Jan 16, 2017 6:37 am
Forum: VCL
Topic: Axis title text doesn't obey html format
Replies: 5
Views: 11446

Re: Axis title text doesn't obey html format

Yes I've set

Code: Select all

TextFormat:=ttfHtml;
.
The problem appear when you switch from GDI+ to GDI render.

Best Regards,
Grzegorz
by Technicon
Fri Jan 13, 2017 8:25 am
Forum: VCL
Topic: Axis title text doesn't obey html format
Replies: 5
Views: 11446

Axis title text doesn't obey html format

Hello,

Axis title text doesn't obey html format
axistitlehtml.jpg
axistitlehtml.jpg (169.86 KiB) Viewed 11535 times
As you can see on that picture the frame behaves correctly but the text dose not breaking the line ( <BR> tag ).

Best Regards,
Grzegorz
by Technicon
Wed Jan 11, 2017 9:32 am
Forum: VCL
Topic: Efficient calculation of custom axis position
Replies: 7
Views: 12452

Re: Efficient calculation of custom axis position

Hello, I've prepared small project to explain the hole problematic. When You run application click button "AddBottomSeries" As You will see You have to click "refresh" button 2x to calculate position of footer sub-footer and bottom legend. The same problem is to create proper metafile via TeeCreateM...
by Technicon
Mon Jan 09, 2017 12:32 pm
Forum: VCL
Topic: Efficient calculation of custom axis position
Replies: 7
Views: 12452

Re: Efficient calculation of custom axis position

Hello Thank You for the answer. I'm still fighting with proper chart objects placement (custom axis axis, title and legend). I'm calculating position and prepare place for this objects by setting chart margins. if(Chart->MarginTop != MargTop) { Chart->MarginTop = MargTop; } if(Chart->MarginBottom !=...
by Technicon
Thu Jan 05, 2017 9:43 am
Forum: VCL
Topic: Efficient calculation of custom axis position
Replies: 7
Views: 12452

Re: Efficient calculation of custom axis position

Hello I have also problem when calculation position of titles and legend (CustomPosition = true); To center eg. title I use Chart->Width to calculate position (center) and i works ok. But when I try to create metafile to put it on the report like this foMeta->Image1->Picture->Assign(Chart1->TeeCreat...
by Technicon
Wed Dec 14, 2016 5:44 am
Forum: VCL
Topic: TAxisScrollTool event to correct scroll
Replies: 7
Views: 12478

Re: TAxisScrollTool event to correct scroll

Hello I've had similar idea but the bug mentioned above doesn't let me to do this. TAxisScrollTool call OnAllowScroll event with "Axis" variable instead of "AAxis". That's why I get NULL if none axis is selected or pointer to axis chosen in TAxisScrollTool settings instead of axis that do the real s...
by Technicon
Tue Dec 13, 2016 2:43 pm
Forum: VCL
Topic: TAxisScrollTool event to correct scroll
Replies: 7
Views: 12478

Re: TAxisScrollTool event to correct scroll

Hello,

I try to use OnScroll but I need information which axis was scrolled. Can you tell me how to do this please?

Best Regards,
Grzegorz
by Technicon
Mon Dec 12, 2016 1:16 pm
Forum: VCL
Topic: TAxisScrollTool event to correct scroll
Replies: 7
Views: 12478

Re: TAxisScrollTool event to correct scroll

Hello I try to correct axis min and max from OnAllowScroll but there is probably a bug in TAxisScrollTool because it doesn't consider values than was changed inside that event. There is also small bug that TAxisScrollTool call OnAllowScroll event with "Axis" variable instead of "AAxis". if Assigned(...
by Technicon
Fri Dec 09, 2016 10:13 am
Forum: VCL
Topic: Efficient calculation of custom axis position
Replies: 7
Views: 12452

Efficient calculation of custom axis position

Hello I have function "PlaceChartObjects" that automatically calculate the position of custom axis, legend and resize chart margins to prepare place for this elements. The problem is that I have to call this function and pTChart->Draw() a few times to get proper results because some objects size hav...