File talk:Population Statistics Mönchengladbach.svg

Source edit

Mark and copy the following text. Paste it into a plain text file. The text file should have an svg extension, for example mychart.svg.

You can check the result here or here.

<?xml version="1.0" encoding="UTF-8" ?>
<!-- Generator: wikimedia.svg.chart, 2013-11-01 -->
<!-- modify viewBox (x,y,dx,dy) for position (x,y) and size (dx,dy) -->
<svg id="head"
  xmlns="http://www.w3.org/2000/svg"
  xmlns:xlink="http://www.w3.org/1999/xlink"
  version="1.1"
  viewBox="-63.744, -286.9, 474.144, 313.4"
  width="750" height="500"
  font-family="Helvetica, Arial"
>

<desc>
  This svg graphic is to edit with an text editor.
  Please do not overwrite this file by saving with an image editor.
  ----------------
  Population Statistics of Mönchengladbach
  Sources:
    https://de.wikipedia.org/wiki/Einwohnerentwicklung_von_Mönchengladbach
    https://de.wikipedia.org/w/index.php?title=Vorlage:Metadaten_Einwohnerzahl_DE-NW and previous updates
</desc>

<!-- also a workaround for librsvg: a <rect> must be placed somewhere before text for a good display of text -->
<rect id="imagebackground" x="-63.744" y="-286.9" width="474.144" height="313.4" stroke-width="0.4" stroke="none" fill="white"/>

<style id="styles" type="text/css"> <![CDATA[
  .graphgeneral {         /*-- general look of graphs and markers, e.g. in legend --*/
    stroke-width:    2.79;
    fill:            none;
    stroke-linejoin: round;
    stroke-linecap:  round;
  }
  .graphgeneralstretch {  /*-- general look of graphs and markers on a stretched chart --*/
    stroke-width:    1.74;
    fill:            none;
    stroke-linejoin: round;
    stroke-linecap:  round;
  }
  .graph1lineblank { /*-- look of graph 1 --*/
    stroke:          #333333;
  }
  .graph1line {
    stroke:          #333333;
  }
  .axisline {
    stroke:          black;
    stroke-width:    1.39;
    stroke-linecap:  round;
  }
  .axismark-main {
    stroke:          black;
    stroke-width:    0.98;
  }
  .axismark-second {
   stroke:           black;
    stroke-width:    0.98;
  }
  .gridline {
    stroke:          black;
    stroke-width:    0.7;
  }
  .titletext {
    font-size:       28.92px;
  }
  .axistext-x {
    font-size:       12.67px;
  }
  .axistext-x-number {
    font-size:       12.67px;
  }
  .axistext-y {
    font-size:       12.67px;
  }
]]></style>

<defs>
  <!--== axis dashes definitions ==-->

  <!-- x-axis gridline vertical, modify "width" -->
  <pattern id="x-gridline" height="546" width="32" patternUnits="userSpaceOnUse">
    <line x1="20.8" x2="20.8" y1="0" y2="546" class="gridline"/>
  </pattern>

  <!-- y-axis gridline horizontal, modify "height" -->
  <pattern id="y-gridline" width="498" height="20" patternUnits="userSpaceOnUse">
    <line x1="0" x2="498" y1="0" y2="0" class="gridline"/>
  </pattern>

  <!-- x-axis mark, modify "height" -->
  <pattern id="x-axismark-main" x="20.8" width="32" height="8.88" patternUnits="userSpaceOnUse">
    <line x1="0" y1="-1" x2="0" y2="8.88" class="axismark-main"/>
  </pattern>

  <!-- x-axis 2nd mark, modify "width" and "x1" -->
  <pattern id="x-axismark-second" x="4.8" width="16" height="8.88" patternUnits="userSpaceOnUse">
    <line x1="0" y1="-1" x2="0" y2="8.88" class="axismark-second"/>
  </pattern>

  <!-- y-axis mark, modify "width" -->
  <pattern id="y-axismark-main" y="0" width="8.88" height="20" patternUnits="userSpaceOnUse">
    <line x1="-1" y1="0" x2="8.88" y2="0" class="axismark-main"/>
  </pattern>

  <!-- y-axis 2nd mark, modify "height" and "y1" -->
  <pattern id="y-axismark-second" y="0" width="8.88" height="10" patternUnits="userSpaceOnUse">
    <line x1="-1" y1="0" x2="8.88" y2="0" class="axismark-second"/>
  </pattern>

  <!-- y-axis2 mark, modify "width" -->
  <pattern id="y-axis2mark-main" y="0" width="8.88" height="10" patternUnits="userSpaceOnUse">
    <line x1="-1" y1="0" x2="8.88" y2="0" class="axismark-main"/>
  </pattern>
</defs>


<g transform="scale(1, -1)">
  <!-- grids -->
  <rect id="x-gridline-area" x="0.3" y="0" width="402.4" height="273" fill="url(#x-gridline)"/>
  <rect id="y-gridline-area" x="0" y="0.3" width="398.4" height="275.7" fill="url(#y-gridline)"/>
</g>

<!-- x axis text, modify each value -->
<g id="axistext-x" class="axistext-x-number" transform="translate(0, 9.41)" text-anchor="middle">
  <text x= "20.8">1780</text>
  <text x= "52.8">1800</text>
  <text x= "84.8">1820</text>
  <text x="116.8">1840</text>
  <text x="148.8">1860</text>
  <text x="180.8">1880</text>
  <text x="212.8">1900</text>
  <text x="244.8">1920</text>
  <text x="276.8">1940</text>
  <text x="308.8">1960</text>
  <text x="340.8">1980</text>
  <text x="372.8">2000</text>
</g>

<!-- y axis text, modify each value -->
<g id="axistext-y" class="axistext-y" text-anchor="end" transform="translate(-12, 3.2)">
  <text y=  "-0">0 000</text>
  <text y= "-20">20 000</text>
  <text y= "-40">40 000</text>
  <text y= "-60">60 000</text>
  <text y= "-80">80 000</text>
  <text y="-100">100 000</text>
  <text y="-120">120 000</text>
  <text y="-140">140 000</text>
  <text y="-160">160 000</text>
  <text y="-180">180 000</text>
  <text y="-200">200 000</text>
  <text y="-220">220 000</text>
  <text y="-240">240 000</text>
  <text y="-260">260 000</text>
</g>

<defs>
<!--====== graph data with origin values, you can manually copy or attach the values here ======-->
<!-- modify displacement "translate" -->
  <!-- graph 1 -->
  <polyline id="graph1-fill" stroke="none" points="
    1767       0
    1767       1.167
    1809       1.2
    1816.917   1.524
    1831.917   2.039
    1840.922   2.775
    1843.922   3.15
    1846.922   3.577
    1849.922   3.752
    1852.922   4.083
    1855.922   4.398
    1858.922  13.965
    1861.922  17.069
    1864.922  18.675
    1867.922  22.149
    1871.917  26.354
    1875.917  31.962
    1880.917  37.387
    1885.917  44.23
    1890.917  49.628
    1895.919  53.662
    1900.917  58.023
    1905.917  60.709
    1910.917  66.414
    1916.917  60.352
    1917.927  58.185
    1919.769  64.031
    1919.997  65.129
    1920.997  65.706
    1921.997 112.153
    1922.997 113.796
    1923.997 114.241
    1924.997 115.94
    1925.457 115.066
    1925.997 115.545
    1926.997 115.028
    1927.997 116.745
    1928.997 118.337
    1929.997 199.914
    1930.997 200.561
    1931.997 201.118
    1932.997 201.725
    1933.457 203.892
    1933.997 126.652
    1934.997 127.132
    1935.997 127.574
    1936.997 128.344
    1937.997 127.964
    1938.997 127.7
    1939.376 128.418
    1939.997 128
    1940.997 127.2
    1945.167  75
    1945.997 106.005
    1946.825 110.444
    1947.997 114.934
    1950.699 124.879
    1951.997 129.912
    1952.997 132.206
    1953.997 136.168
    1956.731 146.49
    1961.43  152.185
    1961.997 152.84
    1962.997 153.752
    1963.997 154.5
    1964.997 154.707
    1965.997 155.449
    1966.997 155.004
    1967.997 153.492
    1968.997 153.599
    1969.997 154.168
    1970.403 151.09
    1970.997 151.111
    1971.997 151.232
    1972.997 151.562
    1973.997 150.271
    1974.997 149.432
    1975.997 261.367
    1976.997 260.076
    1977.997 258.854
    1978.997 258.037
    1979.997 258.001
    1980.997 258.424
    1981.997 258.611
    1982.997 258.552
    1983.997 257.636
    1984.997 255.085
    1985.997 254.495
    1986.997 255.087
    1987.398 249.587
    1987.997 250.425
    1988.997 252.91
    1989.997 255.905
    1990.997 259.436
    1991.997 262.581
    1992.997 265.069
    1993.997 265.312
    1994.997 266.073
    1995.997 266.702
    1996.997 266.873
    1997.997 266.505
    1998.997 264.662
    1999.997 263.697
    2000.997 263.014
    2001.997 262.963
    2002.997 263.104
    2003.997 262.391
    2004.997 261.966
    2005.997 261.444
    2006.997 260.951
    2007.997 260.018
    2008.997 258.848
    2009.997 258.251
    2010.997 257.993
    2011.997 257.208
    2012.997 255.087
    2012.997   0
  "/>
</g>
<g id="graph1">
  <!-- graph 1 -->
  <polyline id="graph1-line" stroke-width="1.74" fill="none" points="
    1767       1.167
    1809       1.2
    1816.917   1.524
    1831.917   2.039
    1840.922   2.775
    1843.922   3.15
    1846.922   3.577
    1849.922   3.752
    1852.922   4.083
    1855.922   4.398
    1858.922  13.965
    1861.922  17.069
    1864.922  18.675
    1867.922  22.149
    1871.917  26.354
    1875.917  31.962
    1880.917  37.387
    1885.917  44.23
    1890.917  49.628
    1895.919  53.662
    1900.917  58.023
    1905.917  60.709
    1910.917  66.414
    1916.917  60.352
    1917.927  58.185
    1919.769  64.031
    1919.997  65.129
    1920.997  65.706
    1921.997 112.153
    1922.997 113.796
    1923.997 114.241
    1924.997 115.94
    1925.457 115.066
    1925.997 115.545
    1926.997 115.028
    1927.997 116.745
    1928.997 118.337
    1929.997 199.914
    1930.997 200.561
    1931.997 201.118
    1932.997 201.725
    1933.457 203.892
    1933.997 126.652
    1934.997 127.132
    1935.997 127.574
    1936.997 128.344
    1937.997 127.964
    1938.997 127.7
    1939.376 128.418
    1939.997 128
    1940.997 127.2
    1945.167  75
    1945.997 106.005
    1946.825 110.444
    1947.997 114.934
    1950.699 124.879
    1951.997 129.912
    1952.997 132.206
    1953.997 136.168
    1956.731 146.49
    1961.43  152.185
    1961.997 152.84
    1962.997 153.752
    1963.997 154.5
    1964.997 154.707
    1965.997 155.449
    1966.997 155.004
    1967.997 153.492
    1968.997 153.599
    1969.997 154.168
    1970.403 151.09
    1970.997 151.111
    1971.997 151.232
    1972.997 151.562
    1973.997 150.271
    1974.997 149.432
    1975.997 261.367
    1976.997 260.076
    1977.997 258.854
    1978.997 258.037
    1979.997 258.001
    1980.997 258.424
    1981.997 258.611
    1982.997 258.552
    1983.997 257.636
    1984.997 255.085
    1985.997 254.495
    1986.997 255.087
    1987.398 249.587
    1987.997 250.425
    1988.997 252.91
    1989.997 255.905
    1990.997 259.436
    1991.997 262.581
    1992.997 265.069
    1993.997 265.312
    1994.997 266.073
    1995.997 266.702
    1996.997 266.873
    1997.997 266.505
    1998.997 264.662
    1999.997 263.697
    2000.997 263.014
    2001.997 262.963
    2002.997 263.104
    2003.997 262.391
    2004.997 261.966
    2005.997 261.444
    2006.997 260.951
    2007.997 260.018
    2008.997 258.848
    2009.997 258.251
    2010.997 257.993
    2011.997 257.208
    2012.997 255.087
  "/>
</g>
</defs>
 
<g class="graphgeneralstretch" transform="scale(1.6, -1) translate(-1767, -0)">
  <!-- graphfill 1 -->
  <use id="graphfilluse1" transform="translate(0, 0)" fill="#dddddd" xlink:href="#graph1-fill"/>
</g>
 
<g class="graphgeneralstretch" transform="scale(1.6, -1) translate(-1767, -0)">
  <!-- graph 1 -->
  <use id="graphuse1p2-line" transform="translate(0, 0.513)" class="graph1lineblank" xlink:href="#graph1-line"/>
  <use id="graphuse1m2-line" transform="translate(0, -0.513)" class="graph1lineblank" xlink:href="#graph1-line"/>
  <use id="graphuse1-1-line" transform="translate(0, 0)" class="graph1line" xlink:href="#graph1-line"/>
</g>

<!-- axes with marks -->
<g transform="scale(1, -1)">
  <!-- x axis, modify "x2" and "width" -->
  <rect id="x-axismark2" x="-4.4" y="-4.44" width="395.4" height="4.44" fill="url(#x-axismark-second)"/>
  <rect id="x-axismark" x="5.6" y="-7.4" width="393.4" height="7.4" fill="url(#x-axismark-main)"/>
  <line id="x-axis" x1="0" y1="0" x2="398" y2="0" class="axisline"/>

  <!-- y axis, modify "height" -->
  <rect id="y-axismark2" x="-4.44" y="-7.4" width="4.44" height="274" fill="url(#y-axismark-second)"/>
  <rect id="y-axismark" x="-7.4" y="-7.4" width="7.4" height="275" fill="url(#y-axismark-main)"/>
  <line id="y-axis" x1="0" y1="0" x2="0" y2="273" class="axisline"/>
</g>

</svg>
Return to the file "Population Statistics Mönchengladbach.svg".