Solved

Bar Heights -  visual studio 2005

Posted on 2006-10-24
3
183 Views
Last Modified: 2010-04-07
I'm creating my own version of a bar chart.  I am having difficulties with the height properties.... For example, if I use a textbox, panel, label, image, etc... I change the properties’ height based some math for this bar of the 'chart'...  the problem is... the height changes DOWNWARD... rather than the desired upward... in other words, I would like the object to grow up, rather than downward... this is a webform, so I can’t use an anchor property... is there a way to absolutely position an object by its bottom?

Thanks!
0
Comment
Question by:zebasdad
3 Comments
 
LVL 11

Accepted Solution

by:
ethoths earned 125 total points
ID: 17834693
This really depends on how you are drawing the bars. If you are using a table and filling a cell with a coloured image you could simply fix the hieight of the row to the maximum bar height (say 300px) and then place the sized gif (say height=250px, width=20px) in to the cell with a valign=bottom attribute. (By the way, to generate the bar image simply create a 1px by 1px gif the the appropriate colour an dthen set the height and width in the html. The image will automatically be streatched to the specified diemnsions).

Prehaps a better way to do it is to use css positioning and simply specify a div to create the bars...
     <div height=250 width=20 left=10 bottom=300 color=red float=left />

You's need to refer to a css reference for all the options on how to do this but the web is full of these.


0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

When setting up new project requests for our site, one of the most powerful tools our team has available to use is Axure (http://www.axure.com/). It’s a tool for creating software and web prototypes that can function and interact as if it were the a…
Introduction In this tutorial, I'll explain how to create an animated progress meter in a wireframe prototype developed using Axure RP 7.0 - a leading prototyping tool for designing web sites and software. (For more information about Axure and gett…
The purpose of this video is to demonstrate how to insert an Iframe into WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Open Page or Post…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question