Jump to content
Software FX Community

Howto?: Rounded box tops


User (Legacy)

Recommended Posts

Posted

I'm using a vertical bar chart and have discovered the cylsides property 

(along with borders=false) to make a richer looking face similar to

left-to-right gradient. However, the example cylsides shows a scalloped top

to each bar, and I would like to round the top of each of my bars. They are

currently just flat on top.

How do I curve the top of my bars?

Thanks,

Greg

Posted

If I'm understanding correctly (Instead of a rectangle show for the bar you 

want a rectangle with half a circle on top of it) what you are looking for

is not possible. Bars can only be displayed as rectangles.

--

FP

Software FX

Posted

Basically yes, that is what I want.  Another way to look at it is that I 

want to specify an angle for the rectangle ends, or I want an elongated

bubble with a square end. Being able to shape the end of the bar makes for

a very nice presentation, which one of your competitor's does have.

I believe the code that we use for DrawRoundRect looks like the one here:

http://thedotnet.com/howto/work173547.aspx

Please consider adding it to your feature set.

Cheers,

Greg

"SoftwareFX Support" <noreply@softwarefx.com> wrote in message

news:hXg0P7Q9EHA.1580@webserver3.softwarefx.com...

> If I'm understanding correctly (Instead of a rectangle show for the bar

> you want a rectangle with half a circle on top of it) what you are looking

> for is not possible. Bars can only be displayed as rectangles.

>

> --

> FP

> Software FX

>

Posted

Let's say we do support a rounded rectangle gallery.

Would it be OK if switching to 3D gives you a default square cube ?

(Obviously a rounded 3D bar would be a lot more involved).

What kind of control do you want/need over the end of the bar ? Note that

even though it seems tempting to provide a bitmap with the bar "top", it

would not look good if we need to stretch as bars may be painted with

different widths.

--

JC

Software FX

"Greg" <greg@nowhere.com> wrote in message

news:TR0uoya9EHA.1120@webserver3.softwarefx.com...

> Basically yes, that is what I want. Another way to look at it is that I

> want to specify an angle for the rectangle ends, or I want an elongated

> bubble with a square end. Being able to shape the end of the bar makes

> for a very nice presentation, which one of your competitor's does have.

>

> I believe the code that we use for DrawRoundRect looks like the one here:

> http://thedotnet.com/howto/work173547.aspx

>

> Please consider adding it to your feature set.

>

> Cheers,

> Greg

>

>

>

> "SoftwareFX Support" <noreply@softwarefx.com> wrote in message

> news:hXg0P7Q9EHA.1580@webserver3.softwarefx.com...

>> If I'm understanding correctly (Instead of a rectangle show for the bar

>> you want a rectangle with half a circle on top of it) what you are

>> looking for is not possible. Bars can only be displayed as rectangles.

>>

>> --

>> FP

>> Software FX

>>

>

>

Posted

I totally agree that putting a bitmap on top is not the way to go.  Using a 

rounded rectangle in which the degree of round vs. square is specified is

better.

As for 2D vs 3D, I guess the answer is that it is better to put a 2D feature

in sooner with the 3D trailing, than to do nothing. If you would like to

see a great demo of the rounded rectangle in chart use, I can send you a URL

if you tell me where to email it. If you want my email, I was sent a trial

key last Monday I believe.

-Greg in TX

> Let's say we do support a rounded rectangle gallery.

>

> Would it be OK if switching to 3D gives you a default square cube ?

> (Obviously a rounded 3D bar would be a lot more involved).

>

> What kind of control do you want/need over the end of the bar ? Note that

> even though it seems tempting to provide a bitmap with the bar "top", it

> would not look good if we need to stretch as bars may be painted with

> different widths.

>

> --

> JC

> Software FX

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...