Skip to content

TestPitPlots

{
  "column_headers": {
    "size": "15%"
  },
  "figure": {
    "title": "LOG OF TEST PIT {test_id}",
    "y_values_per_page": 10,
    "width": 11.69,
    "height": 8.27
  },
  "columns": [
    {
      "title": {
        "title": "DEPTH (m)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "axis"
      }
    },
    {
      "title": {
        "title": "GRAPHIC\nLOG",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "graphic",
        "data_source": "strata",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "hatch_field": "hatch"
      }
    },
    {
      "title": {
        "title": "COLOR",
        "rotation": "vertical"
      },
      "width_ratio": 0.1,
      "model": {
        "column_type": "graphic",
        "data_source": "strata",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "color_field": "color"
      }
    },
    {
      "title": {
        "title": "MATERIAL DESCRIPTION"
      },
      "width_ratio": 1.5,
      "model": {
        "column_type": "text",
        "data_source": "strata",
        "text_field": "{depth_top:.2f}m\n{description}",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {}
      }
    },
    {
      "title": {
        "title": "SAMPLER",
        "rotation": "vertical"
      },
      "width_ratio": 0.075,
      "model": {
        "column_type": "graphic",
        "data_source": "samples",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "hatch_field": "sampler_type"
      }
    },
    {
      "title": {
        "title": "SAMPLER TYPE\nNUMBER",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "samples",
        "text_field": "{sampler_type}\n{sample}",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "P4 (%)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "percent_passing_no4",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "P10 (%)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "percent_passing_no10",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "MOISTURE\nCONTENT (%)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "water_content",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "LIQUID\nLIMIT (%)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "liquid_limit",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "PLASTIC\nLIMIT (%)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "plastic_limit",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "PLASTICITY\nINDEX (%)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "plasticity_index",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "LIQUIDITY\nINDEX",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "{liquidity_index:.2f}",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "FINES\n(%)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "fines_content",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "STIFFNESS\nMOD. (MN/m)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "stiffness_modulus",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "STIFFNESS\nMODULUS (MN/m)"
      },
      "width_ratio": 0.5,
      "model": {
        "column_type": "plot",
        "series": [
          {
            "data_source": "specimens",
            "y_field": "depth",
            "x_field": "stiffness_modulus",
            "parameters": {
              "marker": "o",
              "color": "blue"
            }
          }
        ]
      }
    },
    {
      "title": {
        "title": "ELASTIC\nMOD. (MPa)",
        "rotation": "vertical"
      },
      "width_ratio": 0.15,
      "model": {
        "column_type": "text",
        "data_source": "specimens",
        "text_field": "elasticity_modulus",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "parameters": {
          "horizontal_alignment": "center"
        }
      }
    },
    {
      "title": {
        "title": "ELASTIC\nMODULUS (MPa)"
      },
      "width_ratio": 0.5,
      "model": {
        "column_type": "plot",
        "series": [
          {
            "data_source": "specimens",
            "y_field": "depth",
            "x_field": "elasticity_modulus",
            "parameters": {
              "marker": "o",
              "color": "blue"
            }
          }
        ]
      }
    }
  ]
}