Skip to content

GintCPT

{
  "figure": {
    "title": "LOG OF CPT {test_id}",
    "y_values_per_page": 5
  },
  "column_headers": {
    "size": "10%"
  },
  "columns": [
    {
      "title": {
        "title": "DEPTH (m)",
        "rotation": "vertical"
      },
      "width_ratio": 0.5,
      "model": {
        "column_type": "axis"
      }
    },
    {
      "title": {
        "title": "FRICTION\n(kPa)"
      },
      "width_ratio": 1.1,
      "model": {
        "column_type": "plot",
        "show_legend": false,
        "series": [
          {
            "data_source": "cpt",
            "y_field": "depth",
            "x_field": "sleeve_friction",
            "parameters": {
              "marker": "none",
              "color": "red"
            }
          }
        ]
      }
    },
    {
      "title": {
        "title": "CONE RESISTANCE\n(MPa)"
      },
      "width_ratio": 2.2,
      "model": {
        "column_type": "plot",
        "show_legend": false,
        "series": [
          {
            "data_source": "cpt",
            "y_field": "depth",
            "x_field": "cone_tip_resistance",
            "parameters": {
              "marker": "none",
              "color": "green"
            }
          }
        ]
      }
    },
    {
      "title": {
        "title": "FRICTION\nRATIO (%)"
      },
      "width_ratio": 1.1,
      "model": {
        "column_type": "plot",
        "show_legend": false,
        "series": [
          {
            "data_source": "cpt",
            "y_field": "depth",
            "x_field": "friction_ratio",
            "parameters": {
              "marker": "none",
              "color": "blue"
            }
          }
        ]
      }
    },
    {
      "title": {
        "title": "GRAPHIC\nLOG",
        "rotation": "vertical"
      },
      "width_ratio": 0.25,
      "model": {
        "column_type": "graphic",
        "data_source": "strata",
        "y_top_field": "depth_top",
        "y_bottom_field": "depth",
        "hatch_field": "hatch"
      }
    },
    {
      "title": {
        "title": "MATERIAL DESCRIPTION"
      },
      "width_ratio": 1.95,
      "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": "ELEVATION (m)",
        "rotation": "vertical"
      },
      "width_ratio": 0.5,
      "model": {
        "column_type": "axis",
        "as_elevation": true
      }
    }
  ]
}