Solved

Bar Heights -  visual studio 2005

Posted on 2006-10-24
3
192 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Drawing a Polygon with Google Maps 3 453
Serif Plus workable? 4 52
Can't connect to Hosgator with Filezilla 8 77
Strange space issue in Chrome browser 8 121
Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
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 add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

740 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