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

separate the 'box' element into the 'box' and 'plot' elements

parent 785f39e6
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
- section: Basic Charts
  files:
    - file: pointcharts/simple_scatter
      desc: A minimal scatter plot.
      desc: A simple scatter plot.

- section: Line Charts
  files:
@@ -52,4 +52,6 @@
- section: Other
  files:
    - file: other/demo
      desc: A collection of examples generated with PlotFX (in a single file!)
      desc: A collection of examples generated with PlotFX
    - file: other/demo2
      desc: A collection of examples generated with PlotFX
+288 −340

File changed.

Preview size limit exceeded, changes collapsed.

+6 −6
Original line number Diff line number Diff line
width: 1730px;
height: 920px;
height: 950px;

box {
  position: top;
  height: 480px;

  box {
  plot {
    width: 800px;
    height: 400px;

@@ -55,7 +55,7 @@ box {
    }
  }

  box {
  plot {
    width: 800px;
    height: 400px;

@@ -110,7 +110,7 @@ box {
box {
  position: top;

  box {
  plot {
    width: 800px;
    height: 400px;

@@ -160,7 +160,7 @@ box {
    }
  }

  box {
  plot {
    width: 800px;
    height: 400px;

@@ -209,5 +209,5 @@ box {
      items: "Random Data";
    }
  }

}
+2 −2
Original line number Diff line number Diff line
<svg xmlns="http://www.w3.org/2000/svg" width="1730.000000" height="920.000000" viewBox="0 0 1730.0 920.0">
  <rect width="1730.000000" height="920.000000" fill="#ffffff"/>
<svg xmlns="http://www.w3.org/2000/svg" width="1730.000000" height="950.000000" viewBox="0 0 1730.0 950.0">
  <rect width="1730.000000" height="950.000000" fill="#ffffff"/>
  <path fill="#eeeeee" d="M68.436458 20.0 L820.0 20.0 L820.0 390.266667 L68.436458 390.266667 L68.436458 20.0 "/>
  <path stroke-width="1.333333" stroke="#333333" fill="none" d="M68.436458 390.266667 L820.0 390.266667 "/>
  <path stroke-width="1.333333" stroke="#333333" fill="none" d="M68.436458 390.266667 L68.436458 384.933333 "/>
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ PlotFX is built in the hope that using it will be quick, simple and fun.
---

<p align="center">
  <img src="/examples/other/demo.svg" style="margin-top: 1em; margin-bottom: 1em;">
  <img src="/examples/other/demo2.svg" style="margin-top: 1em; margin-bottom: 1em;">
  <span style="font-style: italic; color: #666;">A collection of example plots generated with PlotFX</span>
</p>

Loading