Link to home
Create AccountLog in
Delphi

Delphi

--

Questions

--

Followers

Top Experts

Avatar of JustinThor
JustinThor

TChart Delphi 7 Marks place in bar
I have a TChart in Delphi 7 with 2 Series which I show Behind or Series1.MultiBar := mbNone;
With this, one series Marks are not seen and the other is shown (as default) above the bar. I would like to change the placing of the marks text (bar label) so that the text is vertical and inside the bar (or at least inside as far as it fits - otherwise it has to stick out the top) - How do I manipulate, in code, where the text of the mark in the series is placed in the chart?

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Geert GGeert G🇧🇪

do you have a screenshot what you have now and what you want ?

Avatar of JustinThorJustinThor

ASKER

Hello Geert,

Attached is a jpg showing on the right side (right bar) how it is default and I have (just quickly in Paintshop Pro) changed the placing of the Marks on the left Bar to roughly what I want. In this example it is just short numbers, but I will have text in the marks as well - meaning that the length will vary. Also the bars are large in this example. But what I want is to know how I can in code change the orientation and placing of the Marks relative to the Bars they are attached to. Thanks.
Chart-as-is-now.jpg

Any one with some tips?

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of Geert GGeert G🇧🇪

i don't have the source to the steema components
it's fiddling to find the right things

TChart comes with the standars version of Delphi (at least up to Delphi 7)

Avatar of Geert GGeert G🇧🇪

it does even with Delphi 2009.
But what you want doesn't work with those versions

I can move the marks but a redraw just puts them back
in 2009 i can even turn the marks
So nothing that will stick

you'll have to get the pro version for the feature you want


Free T-shirt

Get a FREE t-shirt when you ask your first question.

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Geert GGeert G🇧🇪

oops, i did find it:
set the angle of the text of the marks
and the length of the arrows to negative value
screenshot.png

Thanks Geert,

Unfortunately this is not available in Delphi 7 version :-( I dont think this feature alone warrents purchasing a new version of Delphi :-( But thanks for your input.

There is no posted sollution that works for Delphi 7 - Unless someone has a solution I guess this matter has to be closed unsolved.

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Avatar of Geert GGeert G🇧🇪

the answer would be getting the pro version or possible getting a upgrade at www.steema.com
if they have one for Delphi 7

http://www.steema.com/downloads/dwn_tch_vcl.html

with the pro version you could get the source code for this
and adapt it to your needs

Avatar of Geert GGeert G🇧🇪

according to this you can the version 4 for free
with an update for delphi 7

http://www.steema.com/products/teechart/vcl/featurematrix.html

ASKER CERTIFIED SOLUTION
Avatar of JustinThorJustinThor

ASKER

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account
Delphi

Delphi

--

Questions

--

Followers

Top Experts

Delphi is the most powerful Object Pascal IDE and component library for cross-platform Native App Development with flexible Cloud services and broad IoT connectivity. It provides powerful VCL controls for Windows 10 and enables FMX development for Windows, Mac and Mobile. Delphi is your choice for ultrafast Enterprise Strong Developmentâ„¢. Look for increased memory for large projects, extended multi-monitor support, improved Object Inspector and much more. Delphi is 5x faster for development and deployment across multiple desktop, mobile, cloud and database platforms including 32-bit and 64-bit Windows 10.