Connecting Tech Pros Worldwide Forums | Help | Site Map

CSS Charting

shapper
Guest
 
Posts: n/a
#1: Sep 17 '08
Hello,

I am working on a Poll that will have a maximum of 8 options.

I would like to display the voting results with horizontal bars.
The length of the bars would represent the voting percentage on each
option.
On top of each bar I would display the option answer.
In front of the bar I would display the percentage value.

I know I have a few javascript options including Google Charting ...
but how can I do this with CSS?

Thank You,
Miguel

Chris F.A. Johnson
Guest
 
Posts: n/a
#2: Sep 17 '08

re: CSS Charting


On 2008-09-17, shapper wrote:
Quote:
Hello,
>
I am working on a Poll that will have a maximum of 8 options.
>
I would like to display the voting results with horizontal bars.
The length of the bars would represent the voting percentage on each
option.
On top of each bar I would display the option answer.
In front of the bar I would display the percentage value.
>
I know I have a few javascript options including Google Charting ...
but how can I do this with CSS?
Have your poll script create the CSS file with the appropriate
widths.

<http://cfaj.freeshell.org/testing/chart.html>
<http://cfaj.freeshell.org/testing/chart.css>

--
Chris F.A. Johnson <http://cfaj.freeshell.org>
================================================== =================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Closed Thread


Similar HTML / CSS bytes