Hi,

Thanks for all the help ! I figured out the way to get the svg 
barchart from the database using ASP. I tried with all different ways 
to get it using XML,but I guess I need more time & indepth study of 
it. But I learnt many new things.
This is my  very first time to be a member of such a group.

Thanks to all of you !

Mapinja 




--- In svg-developers@yahoogroups.com, "Doug Schepers" <[EMAIL PROTECTED]> 
wrote:
>
> Hi, mapinja-
> 
> You have 2 issues you need to solve:
> 1) load and process the SVG;
> 2) figure out how to draw the charts. 
> 
> For the first problem, you might look at the example found here:
>  http://www.zuccaralloo.de/devgroup/content.php?m=messages
> Specifically, the file:
>  http://www.zuccaralloo.de/devgroup/downloads/restaurant_eval.zip
> 
> For your second problem, you need to design the chart itself (the 
look of
> the bars, the values and sizes of the axes, etc.), and use script 
to create
> each element appropriately.
> 
> Note that this is a separate approach to using XSLT. If you want to 
do it
> that way, as others have advised, you will need to learn XSLT. You 
should
> take whichever approach best suits your skills.
> 
> Since this is a school assignment, you should also take into 
account what
> the parameters of your cirriculum are. And like Barend says, you 
will learn
> more by trial and error than by asking for code-complete solutions.
> 
> Regards-
> Doug
> 
> [EMAIL PROTECTED]
> www.vectoreal.com ...for scalable solutions.
>  
> 
> mapinja wrote:
> | 
> | I need the code to write a .svg file where I parse this xml 
> | file & plot a bar graph from those values. 
> | 
> | Can anybody help me please ASAP.
> | 
> | <?xml version="1.0" encoding="ISO-8859-1"?> <nutrition> <daily-
values>
> |     <total-fat units="g">65</total-fat>
> |     <saturated-fat units="g">20</saturated-fat>
> |     <cholesterol units="mg">300</cholesterol>
> |     <sodium units="mg">2400</sodium>
> |     <carb units="g">300</carb>
> |     <fiber units="g">25</fiber>
> |     <protein units="g">50</protein>
> | </daily-values>
> | 
> | <food>
> |     <name>Avocado Dip</name>
> |     <serving units="g">29</serving>
> |     <calories total="110" fat="100"/>
> |     <total-fat>11</total-fat>
> |     <saturated-fat>3</saturated-fat>
> |     <cholesterol>5</cholesterol>
> |     <sodium>210</sodium>
> |     <carb>2</carb>
> |     <fiber>0</fiber>
> |     <protein>1</protein>
> |     <vitamins>
> |             <a>0</a>
> |             <c>0</c>
> |     </vitamins>
> |     <minerals>
> |             <ca>0</ca>
> |             <fe>0</fe>
> |     </minerals>
> | </food>
> | </nutrition>
> |
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




Reply via email to