github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/components/chart-primitives/area.hbs (about)

     1  <defs>
     2    <linearGradient x1="0" x2="0" y1="0" y2="1" class="{{this.colorClass}}" id="{{this.fillId}}">
     3      <stop class="start" offset="0%" />
     4      <stop class="end" offset="100%" />
     5    </linearGradient>
     6    <clipPath id="{{this.maskId}}">
     7      <path class="fill" d="{{this.area}}" />
     8    </clipPath>
     9  </defs>
    10  <g data-test-chart-area class="area {{this.colorClass}}" ...attributes>
    11    <path class="line" d="{{this.line}}" />
    12    <rect class="fill" x="0" y="0" width="{{@width}}" height="{{@height}}" fill="url(#{{this.fillId}})" clip-path="url(#{{this.maskId}})" />
    13  </g>