Avatar billede davidchristensen Praktikant
07. november 2003 - 04:12 Der er 3 kommentarer og
1 løsning

Values.xml+RadialGraph.xsl=Overblik.svg

Hey..

Jeg er ude efter at lave et dynamisk radial-diagram, og tænkte om der er nogen der vil være med til at få det til at virke her.

Jeg har nogle data (.xml) som er embedet i den .svg-fil jeg har som eksempel her. Data skal via en xsl-fil lave et svg-baseret radial diagram over hvordan de forskellige værdier forholder sig til hinanden.

Jeg har i Illustrator lavet et sådan diagram og eksporteret det som .svg - det kunne være rart at lave en .xsl-fil som vil fungere som et dynamisk svg-diagram - men problemet er lidt at jeg ikke ved hvordan jeg skal lave det. Derfor dette spørgsmål.

Er der nogen der har lyst til at være med til at skabe et radial-svg-diagram.xsl hvor input-data er en xml-fil så er det her de kan tjene nogle point ;)

David
-


PS. Koden fra den .svg-fil jeg har outputtet fra illustrator ser således ud:

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Generator: Adobe Illustrator 10.0, SVG Export Plug-In . SVG Version: 3.0.0 Build 76)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"    "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
    <!ENTITY ns_flows "http://ns.adobe.com/Flows/1.0/">
    <!ENTITY ns_extend "http://ns.adobe.com/Extensibility/1.0/">
    <!ENTITY ns_ai "http://ns.adobe.com/AdobeIllustrator/10.0/">
    <!ENTITY ns_graphs "http://ns.adobe.com/Graphs/1.0/">
    <!ENTITY ns_vars "http://ns.adobe.com/Variables/1.0/">
    <!ENTITY ns_imrep "http://ns.adobe.com/ImageReplacement/1.0/">
    <!ENTITY ns_sfw "http://ns.adobe.com/SaveForWeb/1.0/">
    <!ENTITY ns_custom "http://ns.adobe.com/GenericCustomNamespace/1.0/">
    <!ENTITY ns_adobe_xpath "http://ns.adobe.com/XPath/1.0/">
    <!ENTITY ns_svg "http://www.w3.org/2000/svg">
    <!ENTITY ns_xlink "http://www.w3.org/1999/xlink">
]>
<svg
    xmlns:x="&ns_extend;" xmlns:i="&ns_ai;" xmlns:graph="&ns_graphs;" i:viewOrigin="-98.1772 522.0332" i:rulerOrigin="0 0" i:pageBounds="0 595.2754 841.8896 0"
    xmlns="&ns_svg;" xmlns:xlink="&ns_xlink;" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
    width="903.372" height="387.239" viewBox="0 0 903.372 387.239"
    style="overflow:visible;enable-background:new 0 0 903.372 387.239" xml:space="preserve">
    <style type="text/css">
    <![CDATA[
        .st0{font-family:'Myriad-Roman';}
        .st1{fill:none;stroke:#808080;stroke-width:2;stroke-linecap:round;}
        .st2{font-size:17.5244;}
        .st3{fill:#808080;stroke:#000000;stroke-width:0.5;}
        .st4{fill:none;stroke:#000000;}
        .st5{fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;}
        .st6{stroke:#000000;stroke-width:0.5;}
        .st7{fill:#DFDFDF;stroke:#000000;stroke-width:0.5;}
        .st8{fill:none;stroke:#DFDFDF;stroke-width:2;stroke-linecap:round;}
        .st9{font-size:8.7622;}
    ]]>
    </style>
    <metadata>
        <variableSets  xmlns="&ns_vars;">
            <variableSet  varSetName="binding1" locked="none">
                <variables></variables>
                <v:sampleDataSets  xmlns="&ns_custom;" xmlns:v="&ns_vars;"></v:sampleDataSets>
            </variableSet>
        </variableSets>
    </metadata>
    <g id="Layer_1" i:layer="yes" i:dimmedPercent="50" i:rgbTrio="#4F008000FFFF">
       
            <switch id="XMLID_1_" i:objectNS="&ns_graphs;" i:objectType="graph" font-family="'Myriad-Roman'" transform="matrix(1 0 0 1 281.7651 389.875)">
            <foreignObject  requiredExtensions="&ns_graphs;" width="1" height="1" overflow="visible">
                <graph  xmlns="&ns_graphs;">
                    <data  numDataColumns="4">
                        <values>
                            <row>
                                <value  key="name">Markedsvurdering</value>
                                <value>10</value>
                                <value>20</value>
                                <value>11</value>
                            </row>
                            <row>
                                <value  key="name">Markedsføring ingen forudsætning</value>
                                <value>20</value>
                                <value>13</value>
                                <value>13</value>
                            </row>
                            <row>
                                <value  key="name">Mulighed for at opnå medieomtale</value>
                                <value>11</value>
                                <value>11</value>
                                <value>15</value>
                            </row>
                            <row>
                                <value  key="name">Realistisk markedsføringsbudget</value>
                                <value>19</value>
                                <value>15</value>
                                <value>17</value>
                            </row>
                            <row>
                                <value  key="name">Markedsføringsmuligheder og -indsatsaer er udnyttet</value>
                                <value>18</value>
                                <value>3</value>
                                <value>19</value>
                            </row>
                            <row>
                                <value  key="name">Brug af kendte navne</value>
                                <value>16</value>
                                <value>19</value>
                                <value>9</value>
                            </row>
                            <row>
                                <value  key="name">Markedsføringsaktiviteter</value>
                                <value>9</value>
                                <value>9</value>
                                <value>7</value>
                            </row>
                        </values>
                    </data>
                   
                        <format  type="2D" width="373.854" height="373.853" axisLayout="polar" seriesStackingOrder="firstInFront" inSeriesStackingOrder="lastInFront">
                        <majorAxis  direction="circumference" type="enumeration" orientation="+">
                            <dataColumns>
                                <int>0</int>
                            </dataColumns>
                        </majorAxis>
                        <minorAxis  direction="radius" type="value" orientation="+">
                            <dataColumns>
                                <other></other>
                            </dataColumns>
                        </minorAxis>
                       
                            <axis  name="labels" type="major" ticksAndLabels="explicit" positionBase="maxEdge" labelPositionBase="1" labelSpacing="1" axisVisibility="none" tickLength="none">
                            <labelString>%m:name</labelString>
                        </axis>
                       
                            <axis  name="category" type="major" ticksAndLabels="explicit" positionBase="maxEdge" tickLength="none" subTickLength="none" tickPositionBase="1.5" tickSpacing="1">
                            </axis>
                       
                            <axis  name="value" type="minor" ticksAndLabels="aiDefaultValue" positionBase="minEdge" tickLength="short" subTickLength="short">
                            <labelString>%v</labelString>
                        </axis>
                        <axis  name="valueRepeat" type="minor" ticksAndLabels="aiDefaultValue" positionBase="2" repeat="1"></axis>
                        <graphDesc  fill="none" type="point" points="square" lineStyle="stroked">
                            <legendString>%p:name</legendString>
                            <majorDataColumns>
                                <int>0</int>
                            </majorDataColumns>
                            <minorDataColumns>
                                <other></other>
                            </minorDataColumns>
                            <axisNames>
                                <name>labels</name>
                                <name>category</name>
                                <name>value</name>
                                <name>valueRepeat</name>
                            </axisNames>
                        </graphDesc>
                        <xforms>
                            <xform>
                                <what  xformBase="graphicsBase">
                                    <whichPoint>
                                        <nth>2</nth>
                                    </whichPoint>
                                    <whichSeries>
                                        <nth>0</nth>
                                    </whichSeries>
                                </what>
                                <changeGraphicStyle  value="fill:none;stroke:#000000;"></changeGraphicStyle>
                            </xform>
                            <xform>
                                <what  xformBase="everything"></what>
                                <changeTextStyle  value="font-family:'Myriad-Roman';font-size:0;"></changeTextStyle>
                            </xform>
                        </xforms>
                    </format>
                </graph>
                <x:targetRef  xlink:href="#XMLID_2_" />
            </foreignObject>
            <g id="XMLID_2_" transform="matrix(1 0 0 1 -281.7651 -389.875)">
                <g>
                    <path i:knockout="Off" class="st4" d="M632.252,202.949c0,90.332-73.229,163.56-163.561,163.56s-163.561-73.229-163.561-163.56
                        c0-90.332,73.229-163.561,163.561-163.561S632.252,112.617,632.252,202.949z"/>
                    <g>
                        <g>
                            <path i:knockout="Off" class="st4" d="M468.692,39.388v8.178"/>
                            <path i:knockout="Off" class="st4" d="M595.802,100.017l-6.355,5.147"/>
                            <path i:knockout="Off" class="st4" d="M628.678,236.955l-7.999-1.7"/>
                            <path i:knockout="Off" class="st4" d="M540.392,349.956l-3.585-7.351"/>
                            <path i:knockout="Off" class="st4" d="M399.568,351.185l3.456-7.411"/>
                            <path i:knockout="Off" class="st4" d="M309.323,239.742l7.969-1.84"/>
                            <path i:knockout="Off" class="st4" d="M339.805,102.251l6.444,5.035"/>
                        </g>
                        <g>
                        </g>
                    </g>
                </g>
                <g>
                    <g>
                        <switch i:objectNS="&ns_flows;" i:objectType="pointText">
                            <foreignObject requiredExtensions="&ns_flows;" x="0" y="0" width="1" height="1" style="overflow:visible;">
                                <flowDef  xmlns="&ns_flows;">
                                    <region>
                                        <path d="M479.645,165.344"/>
                                    </region>
                                    <flow  xmlns="&ns_flows;"  class="st0 st9 style=" line-height:10;">
                                        <p><span>5</span></p>
                                    </flow>
                                </flowDef>
                                <x:targetRef  xlink:href="#XMLID_3_" />
                            </foreignObject>
                            <text id="XMLID_3_" transform="matrix(1 0 0 1 479.6445 165.3442)"><tspan x="0" y="0" class="st0 st9">5</tspan></text>
                        </switch>
                        <switch i:objectNS="&ns_flows;" i:objectType="pointText">
                            <foreignObject requiredExtensions="&ns_flows;" x="0" y="0" width="1" height="1" style="overflow:visible;">
                                <flowDef  xmlns="&ns_flows;">
                                    <region>
                                        <path d="M479.645,124.454"/>
                                    </region>
                                    <flow  xmlns="&ns_flows;"  class="st0 st9 style=" line-height:10;">
                                        <p><span>10</span></p>
                                    </flow>
                                </flowDef>
                                <x:targetRef  xlink:href="#XMLID_4_" />
                            </foreignObject>
                            <text id="XMLID_4_" transform="matrix(1 0 0 1 479.6445 124.4541)"><tspan x="0" y="0" class="st0 st9">10</tspan></text>
                        </switch>
                        <switch i:objectNS="&ns_flows;" i:objectType="pointText">
                            <foreignObject requiredExtensions="&ns_flows;" x="0" y="0" width="1" height="1" style="overflow:visible;">
                                <flowDef  xmlns="&ns_flows;">
                                    <region>
                                        <path d="M479.645,83.564"/>
                                    </region>
                                    <flow  xmlns="&ns_flows;"  class="st0 st9 style=" line-height:10;">
                                        <p><span>15</span></p>
                                    </flow>
                                </flowDef>
                                <x:targetRef  xlink:href="#XMLID_5_" />
                            </foreignObject>
                            <text id="XMLID_5_" transform="matrix(1 0 0 1 479.6445 83.564)"><tspan x="0" y="0" class="st0 st9">15</tspan></text>
                        </switch>
                        <switch i:objectNS="&ns_flows;" i:objectType="pointText">
                            <foreignObject requiredExtensions="&ns_flows;" x="0" y="0" width="1" height="1" style="overflow:visible;">
                                <flowDef  xmlns="&ns_flows;">
                                    <region>
                                        <path d="M479.645,42.674"/>
                                    </region>
                                    <flow  xmlns="&ns_flows;"  class="st0 st9 style=" line-height:10;">
                                        <p><span>20</span></p>
                                    </flow>
                                </flowDef>
                                <x:targetRef  xlink:href="#XMLID_6_" />
                            </foreignObject>
                            <text id="XMLID_6_" transform="matrix(1 0 0 1 479.6445 42.6738)"><tspan x="0" y="0" class="st0 st9">20</tspan></text>
                        </switch>
                    </g>
                    <path i:knockout="Off" class="st4" d="M468.692,202.949V39.388"/>
                    <g>
                        <g>
                            <path i:knockout="Off" class="st4" d="M464.603,162.059h8.178"/>
                            <path i:knockout="Off" class="st4" d="M464.603,121.168h8.178"/>
                            <path i:knockout="Off" class="st4" d="M464.603,80.278h8.178"/>
                        </g>
                        <g>
                        </g>
                    </g>
                </g>
                <g>
                    <path i:knockout="Off" class="st4" d="M468.692,202.949l127.11-102.932"/>
                    <g>
                        <g>
                            <path i:knockout="Off" class="st4" d="M497.896,174.038l5.147,6.355"/>
                            <path i:knockout="Off" class="st4" d="M529.673,148.305l5.147,6.355"/>
                            <path i:knockout="Off" class="st4" d="M561.452,122.572l5.146,6.356"/>
                        </g>
                        <g>
                        </g>
                    </g>
                </g>
                <g>
                    <path i:knockout="Off" class="st4" d="M468.692,202.949l159.986,34.006"/>
                    <g>
                        <g>
                            <path i:knockout="Off" class="st4" d="M509.539,207.451l-1.7,7.999"/>
                            <path i:knockout="Off" class="st4" d="M549.536,215.952l-1.701,8"/>
                            <path i:knockout="Off" class="st4" d="M589.532,224.454l-1.7,8"/>
                        </g>
                        <g>
                        </g>
                    </g>
                </g>
                <g>
                    <path i:knockout="Off" class="st4" d="M468.692,202.949l71.7,147.007"/>
                    <g>
                        <g>
                            <path i:knockout="Off" class="st4" d="M490.292,237.908l-7.35,3.585"/>
                            <path i:knockout="Off" class="st4" d="M508.217,274.66l-7.351,3.585"/>
                            <path i:knockout="Off" class="st4" d="M526.142,311.411l-7.35,3.586"/>
                        </g>
                        <g>
                        </g>
                    </g>
                </g>
                <g>
                    <path i:knockout="Off" class="st4" d="M468.692,202.949l-69.124,148.236"/>
                    <g>
                        <g>
                            <path i:knockout="Off" class="st4" d="M455.117,241.736l-7.412-3.457"/>
                            <path i:knockout="Off" class="st4" d="M437.836,278.795l-7.412-3.456"/>
                            <path i:knockout="Off" class="st4" d="M420.555,315.854l-7.412-3.456"/>
                        </g>
                        <g>
                        </g>
                    </g>
                </g>
                <g>
                    <path i:knockout="Off" class="st4" d="M468.692,202.949l-159.369,36.793"/>
                    <g>
                        <g>
                            <path i:knockout="Off" class="st4" d="M429.77,216.131l-1.839-7.969"/>
                            <path i:knockout="Off" class="st4" d="M389.928,225.33l-1.84-7.969"/>
                            <path i:knockout="Off" class="st4" d="M350.085,234.527l-1.84-7.968"/>
                        </g>
                        <g>
                        </g>
                    </g>
                </g>
                <g>
                    <path i:knockout="Off" class="st4" d="M468.692,202.949L339.805,102.251"/>
                    <g>
                        <g>
                            <path i:knockout="Off" class="st4" d="M433.953,180.997l5.035-6.444"/>
                            <path i:knockout="Off" class="st4" d="M401.731,155.822l5.035-6.444"/>
                            <path i:knockout="Off" class="st4" d="M369.509,130.647l5.035-6.444"/>
                        </g>
                        <g>
                        </g>
                    </g>
                </g>
                <g>
                    <g>
                        <g>
                            <path i:knockout="Off" class="st1" d="M551.314,136.043l-82.622-23.053"/>
                            <path i:knockout="Off" class="st1" d="M588.681,228.453l-37.367-92.41"/>
                            <path i:knockout="Off" class="st1" d="M529.637,327.905l59.044-99.452"/>
                            <path i:knockout="Off" class="st1" d="M403.024,343.773l126.613-15.868"/>
                            <path i:knockout="Off" class="st1" d="M396.976,219.505l6.048,124.268"/>
                            <path i:knockout="Off" class="st1" d="M423.582,167.705l-26.605,51.801"/>
                            <path i:knockout="Off" class="st1" d="M468.692,112.99l-45.11,54.714"/>
                        </g>
                    </g>
                    <g>
                        <g>
                            <path i:knockout="Off" class="st8" d="M551.314,136.043l-82.622-96.655"/>
                            <path i:knockout="Off" class="st8" d="M556.684,221.652l-5.37-85.609"/>
                            <path i:knockout="Off" class="st8" d="M522.467,313.204l34.217-91.552"/>
                            <path i:knockout="Off" class="st8" d="M458.323,225.184l64.144,88.02"/>
                            <path i:knockout="Off" class="st8" d="M317.292,237.902l141.031-12.718"/>
                            <path i:knockout="Off" class="st8" d="M410.692,157.635l-93.4,80.268"/>
                            <path i:knockout="Off" class="st8" d="M468.692,39.388l-58,118.247"/>
                        </g>
                    </g>
                    <g>
                        <g>
                            <path i:knockout="Off" class="st5" d="M595.802,100.017l-127.11,21.152"/>
                            <path i:knockout="Off" class="st5" d="M556.684,221.652l39.118-121.636"/>
                            <path i:knockout="Off" class="st5" d="M536.807,342.605l19.877-120.953"/>
                            <path i:knockout="Off" class="st5" d="M406.48,336.361l130.327,6.244"/>
                            <path i:knockout="Off" class="st5" d="M341.197,232.383l65.283,103.979"/>
                            <path i:knockout="Off" class="st5" d="M410.692,157.635l-69.495,74.748"/>
                            <path i:knockout="Off" class="st5" d="M468.692,121.168l-58,36.466"/>
                        </g>
                    </g>
                </g>
                <g>
                    <g>
                        <g>
                            <path i:knockout="Off" class="st3" d="M465.692,109.99h6v6h-6V109.99z"/>
                            <path i:knockout="Off" class="st3" d="M548.314,133.043h6v6h-6V133.043z"/>
                            <path i:knockout="Off" class="st3" d="M585.681,225.453h6v6h-6V225.453z"/>
                            <path i:knockout="Off" class="st3" d="M526.637,324.905h6v6h-6V324.905z"/>
                            <path i:knockout="Off" class="st3" d="M400.024,340.773h6v6h-6V340.773z"/>
                            <path i:knockout="Off" class="st3" d="M393.976,216.505h6v6h-6V216.505z"/>
                            <path i:knockout="Off" class="st3" d="M420.582,164.705h6v6h-6V164.705z"/>
                        </g>
                    </g>
                    <g>
                        <g>
                            <path i:knockout="Off" class="st7" d="M465.692,36.388h6v6h-6V36.388z"/>
                            <path i:knockout="Off" class="st7" d="M548.314,133.043h6v6h-6V133.043z"/>
                            <path i:knockout="Off" class="st7" d="M553.684,218.652h6v6h-6V218.652z"/>
                            <path i:knockout="Off" class="st7" d="M519.467,310.204h6v6h-6V310.204z"/>
                            <path i:knockout="Off" class="st7" d="M455.323,222.184h6v6h-6V222.184z"/>
                            <path i:knockout="Off" class="st7" d="M314.292,234.902h6v6h-6V234.902z"/>
                            <path i:knockout="Off" class="st7" d="M407.692,154.635h6v6h-6V154.635z"/>
                        </g>
                    </g>
                    <g>
                        <g>
                            <path i:knockout="Off" class="st6" d="M465.692,118.168h6v6h-6V118.168z"/>
                            <path i:knockout="Off" class="st6" d="M592.802,97.017h6v6h-6V97.017z"/>
                            <path i:knockout="Off" class="st6" d="M553.684,218.652h6v6h-6V218.652z"/>
                            <path i:knockout="Off" class="st6" d="M533.807,339.605h6v6h-6V339.605z"/>
                            <path i:knockout="Off" class="st6" d="M403.48,333.361h6v6h-6V333.361z"/>
                            <path i:knockout="Off" class="st6" d="M338.197,229.383h6v6h-6V229.383z"/>
                            <path i:knockout="Off" class="st6" d="M407.692,154.635h6v6h-6V154.635z"/>
                        </g>
                    </g>
                </g>
                <g>
                    <switch i:objectNS="&ns_flows;" i:objectType="pointText">
                        <foreignObject requiredExtensions="&ns_flows;" x="0" y="0" width="1" height="1" style="overflow:visible;">
                            <flowDef  xmlns="&ns_flows;">
                                <region>
                                    <path d="M323.693,96.235"/>
                                </region>
                                <flow  xmlns="&ns_flows;"  class="st0 st2 style=" line-height:10;text-align:right;text-align-last:right;">
                                    <p><span>Markedsf</span><span>&#xF8;</span><span>ringsaktiviteter</span></p>
                                </flow>
                            </flowDef>
                            <x:targetRef  xlink:href="#XMLID_7_" />
                        </foreignObject>
                        <text id="XMLID_7_" transform="matrix(1 0 0 1 136.4312 96.2354)"><tspan x="0" y="0" class="st0 st2">Markedsf</tspan><tspan x="67.502" y="0" class="st0 st2">&#xF8;</tspan><tspan x="77.123" y="0" class="st0 st2">ringsaktiviteter</tspan></text>
                    </switch>
                    <switch i:objectNS="&ns_flows;" i:objectType="pointText">
                        <foreignObject requiredExtensions="&ns_flows;" x="0" y="0" width="1" height="1" style="overflow:visible;">
                            <flowDef  xmlns="&ns_flows;">
                                <region>
                                    <path d="M289.402,250.912"/>
                                </region>
                                <flow  xmlns="&ns_flows;"  class="st0 st2 style=" line-height:10;text-align:right;text-align-last:right;">
                                    <p><span>Brug af kendte navne</span></p>
                                </flow>
                            </flowDef>
                            <x:targetRef  xlink:href="#XMLID_8_" />
                        </foreignObject>
                        <text id="XMLID_8_" transform="matrix(1 0 0 1 133.9463 250.9121)"><tspan x="0" y="0" class="st0 st2">Brug af kendte navne</tspan></text>
                    </switch>
                    <switch i:objectNS="&ns_flows;" i:objectType="pointText">
                        <foreignObject requiredExtensions="&ns_flows;" x="0" y="0" width="1" height="1" style="overflow:visible;">
                            <flowDef  xmlns="&ns_flows;">
                                <region>
                                    <path d="M390.928,382.858"/>
                                </region>
                                <flow  xmlns="&ns_flows;"  class="st0 st2 style=" line-height:10;text-align:right;text-align-last:right;">
                                    <p><span>Markedsf</span><span>&#xF8;</span><span>ringsmuligheder og -indsatsaer er udnyttet</span></p>
                                </flow>
                            </flowDef>
                            <x:targetRef  xlink:href="#XMLID_9_" />
                        </foreignObject>
                        <text id="XMLID_9_" transform="matrix(1 0 0 1 0 382.8584)"><tspan x="0" y="0" class="st0 st2">Markedsf</tspan><tspan x="67.502" y="0" class="st0 st2">&#xF8;</tspan><tspan x="77.124" y="0" class="st0 st2">ringsmuligheder og -indsatsaer er udnyttet</tspan></text>
                    </switch>
                    <switch i:objectNS="&ns_flows;" i:objectType="pointText">
                        <foreignObject requiredExtensions="&ns_flows;" x="0" y="0" width="1" height="1" style="overflow:visible;">
                            <flowDef  xmlns="&ns_flows;">
                                <region>
                                    <path d="M549.355,381.476"/>
                                </region>
                                <flow  xmlns="&ns_flows;"  class="st0 st2 style=" line-height:10;">
                                    <p><span>Realistisk markedsf</span><span>&#xF8;</span><span>ringsbudget</span></p>
                                </flow>
                            </flowDef>
                            <x:targetRef  xlink:href="#XMLID_10_" />
                        </foreignObject>
                        <text id="XMLID_10_" transform="matrix(1 0 0 1 549.355 381.4756)"><tspan x="0" y="0" class="st0 st2">Realistisk markedsf</tspan><tspan x="138.546" y="0" class="st0 st2">&#xF8;</tspan><tspan x="148.166" y="0" class="st0 st2">ringsbudget</tspan></text>
                    </switch>
                    <switch i:objectNS="&ns_flows;" i:objectType="pointText">
                        <foreignObject requiredExtensions="&ns_flows;" x="0" y="0" width="1" height="1" style="overflow:visible;">
                            <flowDef  xmlns="&ns_flows;">
                                <region>
                                    <path d="M648.676,247.777"/>
                                </region>
                                <flow  xmlns="&ns_flows;"  class="st0 st2 style=" line-height:10;">
                                    <p><span>Mulighed for at opn</span><span>&#xE5;</span><span> medieomtale</span></p>
                                </flow>
                            </flowDef>
                            <x:targetRef  xlink:href="#XMLID_11_" />
                        </foreignObject>
                        <text id="XMLID_11_" transform="matrix(1 0 0 1 648.6763 247.7773)"><tspan x="0" y="0" class="st0 st2">Mulighed for at opn</tspan><tspan x="145.082" y="0" class="st0 st2">&#xE5;</tspan><tspan x="153.528" y="0" class="st0 st2"> medieomtale</tspan></text>
                    </switch>
                    <switch i:objectNS="&ns_flows;" i:objectType="pointText">
                        <foreignObject requiredExtensions="&ns_flows;" x="0" y="0" width="1" height="1" style="overflow:visible;">
                            <flowDef  xmlns="&ns_flows;">
                                <region>
                                    <path d="M611.691,93.722"/>
                                </region>
                                <flow  xmlns="&ns_flows;"  class="st0 st2 style=" line-height:10;">
                                    <p><span>Markedsf</span><span>&#xF8;</span><span>ring ingen foruds</span><span>&#xE6;</span><span>tning</span></p>
                                </flow>
                            </flowDef>
                            <x:targetRef  xlink:href="#XMLID_12_" />
                        </foreignObject>
                        <text id="XMLID_12_" transform="matrix(1 0 0 1 611.6909 93.7222)"><tspan x="0" y="0" class="st0 st2">Markedsf</tspan><tspan x="67.503" y="0" class="st0 st2">&#xF8;</tspan><tspan x="77.123" y="0" class="st0 st2">ring ingen foruds</tspan><tspan x="202.807" y="0" class="st0 st2">&#xE6;</tspan><tspan x="216.353" y="0" class="st0 st2">tning</tspan></text>
                    </switch>
                    <switch i:objectNS="&ns_flows;" i:objectType="pointText">
                        <foreignObject requiredExtensions="&ns_flows;" x="0" y="0" width="1" height="1" style="overflow:visible;">
                            <flowDef  xmlns="&ns_flows;">
                                <region>
                                    <path d="M468.692,14.563"/>
                                </region>
                                <flow  xmlns="&ns_flows;"  class="st0 st2 style=" line-height:10;text-align:center;text-align-last:center;">
                                    <p><span>Markedsvurdering</span></p>
                                </flow>
                            </flowDef>
                            <x:targetRef  xlink:href="#XMLID_13_" />
                        </foreignObject>
                        <text id="XMLID_13_" transform="matrix(1 0 0 1 401.6011 14.5625)"><tspan x="0" y="0" class="st0 st2">Markedsvurdering</tspan></text>
                    </switch>
                </g>
            </g>
        </switch>
    </g>
</svg>
Avatar billede janegil Nybegynder
07. november 2003 - 10:34 #1
Har du en lenke til bildet, så jeg kan få bekreftet min mistanke om at det er et pizzagram du vil ha?
Avatar billede davidchristensen Praktikant
07. november 2003 - 18:09 #2
Det er ikke en pizzagram, men et radargram - sådan lidt lissom dether: http://www.utexas.edu/depts/grg/hudson/grg394k/studentprojects/waldinger/radar.JPG bare i .svg
Avatar billede davidchristensen Praktikant
07. november 2003 - 19:19 #3
Du kan faktisk tage koden øverst oppe og kopiere den ind i en tekstfil og kalde den for chart.svg, så kan du se.. :)
Avatar billede davidchristensen Praktikant
19. januar 2004 - 09:46 #4
slutter her..
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Kurser inden for grundlæggende programmering

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester