Commit ffeb5478 authored by Paul Asmuth's avatar Paul Asmuth
Browse files

add examples/charts-editorial/stacked_areas.fvz

parent 1c68f4a4
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
(set height 220px)
(set width 960px)

(plot
  limit-x (0 100)
  limit-y (0 60)
  axes (bottom)
  axis-y-label-placement (linear-interval 10 10 50)
  axis-left (
    border none
    label-offset 0
    label-attach left
    label-color #666)
  areas (
    data-x (5 10 20 30 40 50 60 70 80 90 100)
    data-y (3 10 10 18 32 34 42 40 36 46 54)
    color 1)
  areas (
    data-x (5 10 20 30 40 50 60 70 80 90 100)
    data-y (2 6 6 8 18 20 30 30 30 36 35)
    color 3)
  areas (
    data-x (5 10 20 30 40 50 60 70 80 90 100)
    data-y (1 2 4 7 13 15 20 16 18 23 18)
    color 2)
  grid (
    color #eee
    tick-placement-x (none))
  legend-top (
    position (top right)
    margin-left 0
    item-flow on
    item (label "Series A" color 1)
    item (label "Series B" color 2)
    item (label "Series C" color 3)))
+51 −0
Original line number Diff line number Diff line
<svg xmlns="http://www.w3.org/2000/svg" width="960.000000" height="220.000000" viewBox="0 0 960 220">
  <rect width="960.000000" height="220.000000" fill="#ffffff"/>
  <path stroke-width="1.333333" stroke="#eeeeee" fill="none" d="M54.9469 154.711 L945.333 154.711 "/>
  <path stroke-width="1.333333" stroke="#eeeeee" fill="none" d="M54.9469 133.822 L945.333 133.822 "/>
  <path stroke-width="1.333333" stroke="#eeeeee" fill="none" d="M54.9469 112.933 L945.333 112.933 "/>
  <path stroke-width="1.333333" stroke="#eeeeee" fill="none" d="M54.9469 92.0444 L945.333 92.0444 "/>
  <path stroke-width="1.333333" stroke="#eeeeee" fill="none" d="M54.9469 71.1556 L945.333 71.1556 "/>
  <path fill="#4572a7" d="M99.4662 169.333 L143.986 154.711 L233.024 154.711 L322.063 138 L411.101 108.756 L500.14 104.578 L589.179 87.8667 L678.217 92.0444 L767.256 100.4 L856.295 79.5111 L945.333 62.8 L945.333 175.6 L856.295 175.6 L767.256 175.6 L678.217 175.6 L589.179 175.6 L500.14 175.6 L411.101 175.6 L322.063 175.6 L233.024 175.6 L143.986 175.6 L99.4662 175.6 "/>
  <path fill="#db843d" d="M99.4662 171.422 L143.986 163.067 L233.024 163.067 L322.063 158.889 L411.101 138 L500.14 133.822 L589.179 112.933 L678.217 112.933 L767.256 112.933 L856.295 100.4 L945.333 102.489 L945.333 175.6 L856.295 175.6 L767.256 175.6 L678.217 175.6 L589.179 175.6 L500.14 175.6 L411.101 175.6 L322.063 175.6 L233.024 175.6 L143.986 175.6 L99.4662 175.6 "/>
  <path fill="#aa4643" d="M99.4662 173.511 L143.986 171.422 L233.024 167.244 L322.063 160.978 L411.101 148.444 L500.14 144.267 L589.179 133.822 L678.217 142.178 L767.256 138 L856.295 127.556 L945.333 138 L945.333 175.6 L856.295 175.6 L767.256 175.6 L678.217 175.6 L589.179 175.6 L500.14 175.6 L411.101 175.6 L322.063 175.6 L233.024 175.6 L143.986 175.6 L99.4662 175.6 "/>
  <text x="682.173958" y="46.266667" fill="#000000" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">Series A</text>
  <path fill="#4572a7" d="M673.741 41.2667 M662.741 41.2667 a5.5 5.5 0 1 0 11 0 a5.5 5.5 0 1 0 -11 0 "/>
  <text x="773.481250" y="46.266667" fill="#000000" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">Series B</text>
  <path fill="#aa4643" d="M765.048 41.2667 M754.048 41.2667 a5.5 5.5 0 1 0 11 0 a5.5 5.5 0 1 0 -11 0 "/>
  <text x="865.601042" y="46.266667" fill="#000000" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">Series C</text>
  <path fill="#db843d" d="M857.168 41.2667 M846.168 41.2667 a5.5 5.5 0 1 0 11 0 a5.5 5.5 0 1 0 -11 0 "/>
  <path stroke-width="1.333333" stroke="#000000" fill="none" d="M54.9469 175.6 L945.333 175.6 "/>
  <path stroke-width="1.333333" stroke="#000000" fill="none" d="M54.9469 170.267 L54.9469 175.6 "/>
  <path stroke-width="1.333333" stroke="#000000" fill="none" d="M143.986 170.267 L143.986 175.6 "/>
  <path stroke-width="1.333333" stroke="#000000" fill="none" d="M233.024 170.267 L233.024 175.6 "/>
  <path stroke-width="1.333333" stroke="#000000" fill="none" d="M322.063 170.267 L322.063 175.6 "/>
  <path stroke-width="1.333333" stroke="#000000" fill="none" d="M411.101 170.267 L411.101 175.6 "/>
  <path stroke-width="1.333333" stroke="#000000" fill="none" d="M500.14 170.267 L500.14 175.6 "/>
  <path stroke-width="1.333333" stroke="#000000" fill="none" d="M589.179 170.267 L589.179 175.6 "/>
  <path stroke-width="1.333333" stroke="#000000" fill="none" d="M678.217 170.267 L678.217 175.6 "/>
  <path stroke-width="1.333333" stroke="#000000" fill="none" d="M767.256 170.267 L767.256 175.6 "/>
  <path stroke-width="1.333333" stroke="#000000" fill="none" d="M856.295 170.267 L856.295 175.6 "/>
  <path stroke-width="1.333333" stroke="#000000" fill="none" d="M945.333 170.267 L945.333 175.6 "/>
  <text x="44.751563" y="201.333333" fill="#000000" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">0.0</text>
  <text x="129.712085" y="201.333333" fill="#000000" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">10.0</text>
  <text x="218.750732" y="201.333333" fill="#000000" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">20.0</text>
  <text x="307.789386" y="201.333333" fill="#000000" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">30.0</text>
  <text x="396.828026" y="201.333333" fill="#000000" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">40.0</text>
  <text x="485.866667" y="201.333333" fill="#000000" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">50.0</text>
  <text x="574.905334" y="201.333333" fill="#000000" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">60.0</text>
  <text x="663.943948" y="201.333333" fill="#000000" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">70.0</text>
  <text x="752.982615" y="201.333333" fill="#000000" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">80.0</text>
  <text x="842.021282" y="201.333333" fill="#000000" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">90.0</text>
  <text x="926.981771" y="201.333333" fill="#000000" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">100.0</text>
  <path stroke-width="0.000000" stroke="#000000" fill="none" d="M54.9469 50.2667 L54.9469 175.6 "/>
  <path stroke-width="0.000000" stroke="#000000" fill="none" d="M54.9469 154.711 L60.2802 154.711 "/>
  <path stroke-width="0.000000" stroke="#000000" fill="none" d="M54.9469 133.822 L60.2802 133.822 "/>
  <path stroke-width="0.000000" stroke="#000000" fill="none" d="M54.9469 112.933 L60.2802 112.933 "/>
  <path stroke-width="0.000000" stroke="#000000" fill="none" d="M54.9469 92.0444 L60.2802 92.0444 "/>
  <path stroke-width="0.000000" stroke="#000000" fill="none" d="M54.9469 71.1556 L60.2802 71.1556 "/>
  <text x="54.946875" y="159.711111" fill="#666666" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">10.0</text>
  <text x="54.946875" y="138.822222" fill="#666666" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">20.0</text>
  <text x="54.946875" y="117.933333" fill="#666666" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">30.0</text>
  <text x="54.946875" y="97.044444" fill="#666666" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">40.0</text>
  <text x="54.946875" y="76.155556" fill="#666666" font-size="14.666667" font-family="Arial,Helvetica,'Helvetica Neue',sans-serif" font-weight="500.000000">50.0</text>
</svg>
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@
  files:
    - file: charts-basic/linechart_with_labels
    - file: charts-basic/chart_i18n
    - file: charts-editorial/stacked_areas
    - file: charts-basic/barchart_horizontal
    - file: charts-basic/barchart_with_labels

+35 −0
Original line number Diff line number Diff line
(set height 220px)
(set width 960px)

(plot
  limit-x (0 100)
  limit-y (0 60)
  axes (bottom)
  axis-y-label-placement (linear-interval 10 10 50)
  axis-left (
    border none
    label-offset 0
    label-attach left
    label-color #666)
  areas (
    data-x (5 10 20 30 40 50 60 70 80 90 100)
    data-y (3 10 10 18 32 34 42 40 36 46 54)
    color 1)
  areas (
    data-x (5 10 20 30 40 50 60 70 80 90 100)
    data-y (2 6 6 8 18 20 30 30 30 36 35)
    color 3)
  areas (
    data-x (5 10 20 30 40 50 60 70 80 90 100)
    data-y (1 2 4 7 13 15 20 16 18 23 18)
    color 2)
  grid (
    color #eee
    tick-placement-x (none))
  legend-top (
    position (top right)
    margin-left 0
    item-flow on
    item (label "Series A" color 1)
    item (label "Series B" color 2)
    item (label "Series C" color 3)))
+120 −0

File added.

Preview size limit exceeded, changes collapsed.