# chart-legend icon

Chart legend. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/chart-legend

- Category: Charts & data
- Use it for: chart legend, toggle legend, legend, show legend
- Tags: legend, key, chart, series, labels, show-legend, hide-legend
- Component name: ChartLegendIcon
- Added: 2026-10-16

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/chart-legend.svg · PNG https://gentleface.com/png/line-round/16/chart-legend.png · https://gentleface.com/png/line-round/32/chart-legend.png · https://gentleface.com/png/line-round/48/chart-legend.png
- line-soft: https://gentleface.com/svg/line-soft/16/chart-legend.svg · PNG https://gentleface.com/png/line-soft/16/chart-legend.png · https://gentleface.com/png/line-soft/32/chart-legend.png · https://gentleface.com/png/line-soft/48/chart-legend.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/chart-legend.svg · PNG https://gentleface.com/png/line-sharp/16/chart-legend.png · https://gentleface.com/png/line-sharp/32/chart-legend.png · https://gentleface.com/png/line-sharp/48/chart-legend.png
- solid-round: https://gentleface.com/svg/solid-round/16/chart-legend.svg · PNG https://gentleface.com/png/solid-round/16/chart-legend.png · https://gentleface.com/png/solid-round/32/chart-legend.png · https://gentleface.com/png/solid-round/48/chart-legend.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/chart-legend.svg · PNG https://gentleface.com/png/solid-soft/16/chart-legend.png · https://gentleface.com/png/solid-soft/32/chart-legend.png · https://gentleface.com/png/solid-soft/48/chart-legend.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/chart-legend.svg · PNG https://gentleface.com/png/solid-sharp/16/chart-legend.png · https://gentleface.com/png/solid-sharp/32/chart-legend.png · https://gentleface.com/png/solid-sharp/48/chart-legend.png

The SVG of every style: https://gentleface.com/icons/chart-legend.json (`svg`).

## Code (line-round)

The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M6.5 3C6.638 3 6.756 3.049 6.854 3.146L8.5 4.793L12.146 1.146C12.246 1.047 12.364 0.997 12.5 0.997C12.636 0.997 12.754 1.047 12.854 1.146C12.951 1.244 13 1.362 13 1.5C13 1.638 12.951 1.756 12.854 1.854L8.854 5.854C8.754 5.953 8.636 6.003 8.5 6.003C8.364 6.003 8.246 5.953 8.146 5.854L6.5 4.207L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L6.146 3.146C6.244 3.049 6.362 3 6.5 3ZM5 11L2 11L2 8L5 8L5 11ZM7.144 9.856C7.048 9.759 7 9.641 7 9.5C7 9.359 7.048 9.241 7.144 9.144C7.241 9.048 7.359 9 7.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L7.5 10C7.359 10 7.241 9.952 7.144 9.856ZM5 15L2 15L2 12L5 12L5 15ZM7.144 13.856C7.048 13.759 7 13.641 7 13.5C7 13.359 7.048 13.241 7.144 13.144C7.241 13.048 7.359 13 7.5 13L14.5 13C14.641 13 14.759 13.048 14.856 13.144C14.952 13.241 15 13.359 15 13.5C15 13.641 14.952 13.759 14.856 13.856C14.759 13.952 14.641 14 14.5 14L7.5 14C7.359 14 7.241 13.952 7.144 13.856Z"/></svg>
```

### React

```tsx
// Gentleface "chart-legend" (line-round), MIT. https://gentleface.com/icons/chart-legend
import type { SVGProps } from 'react';

export function ChartLegendIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M6.5 3C6.638 3 6.756 3.049 6.854 3.146L8.5 4.793L12.146 1.146C12.246 1.047 12.364 0.997 12.5 0.997C12.636 0.997 12.754 1.047 12.854 1.146C12.951 1.244 13 1.362 13 1.5C13 1.638 12.951 1.756 12.854 1.854L8.854 5.854C8.754 5.953 8.636 6.003 8.5 6.003C8.364 6.003 8.246 5.953 8.146 5.854L6.5 4.207L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L6.146 3.146C6.244 3.049 6.362 3 6.5 3ZM5 11L2 11L2 8L5 8L5 11ZM7.144 9.856C7.048 9.759 7 9.641 7 9.5C7 9.359 7.048 9.241 7.144 9.144C7.241 9.048 7.359 9 7.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L7.5 10C7.359 10 7.241 9.952 7.144 9.856ZM5 15L2 15L2 12L5 12L5 15ZM7.144 13.856C7.048 13.759 7 13.641 7 13.5C7 13.359 7.048 13.241 7.144 13.144C7.241 13.048 7.359 13 7.5 13L14.5 13C14.641 13 14.759 13.048 14.856 13.144C14.952 13.241 15 13.359 15 13.5C15 13.641 14.952 13.759 14.856 13.856C14.759 13.952 14.641 14 14.5 14L7.5 14C7.359 14 7.241 13.952 7.144 13.856Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "chart-legend" (line-round), MIT. https://gentleface.com/icons/chart-legend -->
<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true">
    <path d="M6.5 3C6.638 3 6.756 3.049 6.854 3.146L8.5 4.793L12.146 1.146C12.246 1.047 12.364 0.997 12.5 0.997C12.636 0.997 12.754 1.047 12.854 1.146C12.951 1.244 13 1.362 13 1.5C13 1.638 12.951 1.756 12.854 1.854L8.854 5.854C8.754 5.953 8.636 6.003 8.5 6.003C8.364 6.003 8.246 5.953 8.146 5.854L6.5 4.207L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L6.146 3.146C6.244 3.049 6.362 3 6.5 3ZM5 11L2 11L2 8L5 8L5 11ZM7.144 9.856C7.048 9.759 7 9.641 7 9.5C7 9.359 7.048 9.241 7.144 9.144C7.241 9.048 7.359 9 7.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L7.5 10C7.359 10 7.241 9.952 7.144 9.856ZM5 15L2 15L2 12L5 12L5 15ZM7.144 13.856C7.048 13.759 7 13.641 7 13.5C7 13.359 7.048 13.241 7.144 13.144C7.241 13.048 7.359 13 7.5 13L14.5 13C14.641 13 14.759 13.048 14.856 13.144C14.952 13.241 15 13.359 15 13.5C15 13.641 14.952 13.759 14.856 13.856C14.759 13.952 14.641 14 14.5 14L7.5 14C7.359 14 7.241 13.952 7.144 13.856Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "chart-legend" (line-round), MIT. https://gentleface.com/icons/chart-legend -->
<script>
  let props = $props();
</script>

<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
  <path d="M6.5 3C6.638 3 6.756 3.049 6.854 3.146L8.5 4.793L12.146 1.146C12.246 1.047 12.364 0.997 12.5 0.997C12.636 0.997 12.754 1.047 12.854 1.146C12.951 1.244 13 1.362 13 1.5C13 1.638 12.951 1.756 12.854 1.854L8.854 5.854C8.754 5.953 8.636 6.003 8.5 6.003C8.364 6.003 8.246 5.953 8.146 5.854L6.5 4.207L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L6.146 3.146C6.244 3.049 6.362 3 6.5 3ZM5 11L2 11L2 8L5 8L5 11ZM7.144 9.856C7.048 9.759 7 9.641 7 9.5C7 9.359 7.048 9.241 7.144 9.144C7.241 9.048 7.359 9 7.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L7.5 10C7.359 10 7.241 9.952 7.144 9.856ZM5 15L2 15L2 12L5 12L5 15ZM7.144 13.856C7.048 13.759 7 13.641 7 13.5C7 13.359 7.048 13.241 7.144 13.144C7.241 13.048 7.359 13 7.5 13L14.5 13C14.641 13 14.759 13.048 14.856 13.144C14.952 13.241 15 13.359 15 13.5C15 13.641 14.952 13.759 14.856 13.856C14.759 13.952 14.641 14 14.5 14L7.5 14C7.359 14 7.241 13.952 7.144 13.856Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "chart-legend" (line-round), MIT. https://gentleface.com/icons/chart-legend. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/chart-legend.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "chart-legend" (line-round), MIT. https://gentleface.com/icons/chart-legend. Takes the text color. */
.icon-chart-legend {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M6.5 3C6.638 3 6.756 3.049 6.854 3.146L8.5 4.793L12.146 1.146C12.246 1.047 12.364 0.997 12.5 0.997C12.636 0.997 12.754 1.047 12.854 1.146C12.951 1.244 13 1.362 13 1.5C13 1.638 12.951 1.756 12.854 1.854L8.854 5.854C8.754 5.953 8.636 6.003 8.5 6.003C8.364 6.003 8.246 5.953 8.146 5.854L6.5 4.207L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L6.146 3.146C6.244 3.049 6.362 3 6.5 3ZM5 11L2 11L2 8L5 8L5 11ZM7.144 9.856C7.048 9.759 7 9.641 7 9.5C7 9.359 7.048 9.241 7.144 9.144C7.241 9.048 7.359 9 7.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L7.5 10C7.359 10 7.241 9.952 7.144 9.856ZM5 15L2 15L2 12L5 12L5 15ZM7.144 13.856C7.048 13.759 7 13.641 7 13.5C7 13.359 7.048 13.241 7.144 13.144C7.241 13.048 7.359 13 7.5 13L14.5 13C14.641 13 14.759 13.048 14.856 13.144C14.952 13.241 15 13.359 15 13.5C15 13.641 14.952 13.759 14.856 13.856C14.759 13.952 14.641 14 14.5 14L7.5 14C7.359 14 7.241 13.952 7.144 13.856Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M6.5 3C6.638 3 6.756 3.049 6.854 3.146L8.5 4.793L12.146 1.146C12.246 1.047 12.364 0.997 12.5 0.997C12.636 0.997 12.754 1.047 12.854 1.146C12.951 1.244 13 1.362 13 1.5C13 1.638 12.951 1.756 12.854 1.854L8.854 5.854C8.754 5.953 8.636 6.003 8.5 6.003C8.364 6.003 8.246 5.953 8.146 5.854L6.5 4.207L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L6.146 3.146C6.244 3.049 6.362 3 6.5 3ZM5 11L2 11L2 8L5 8L5 11ZM7.144 9.856C7.048 9.759 7 9.641 7 9.5C7 9.359 7.048 9.241 7.144 9.144C7.241 9.048 7.359 9 7.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L7.5 10C7.359 10 7.241 9.952 7.144 9.856ZM5 15L2 15L2 12L5 12L5 15ZM7.144 13.856C7.048 13.759 7 13.641 7 13.5C7 13.359 7.048 13.241 7.144 13.144C7.241 13.048 7.359 13 7.5 13L14.5 13C14.641 13 14.759 13.048 14.856 13.144C14.952 13.241 15 13.359 15 13.5C15 13.641 14.952 13.759 14.856 13.856C14.759 13.952 14.641 14 14.5 14L7.5 14C7.359 14 7.241 13.952 7.144 13.856Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M6.5 3C6.638 3 6.756 3.049 6.854 3.146L8.5 4.793L12.146 1.146C12.246 1.047 12.364 0.997 12.5 0.997C12.636 0.997 12.754 1.047 12.854 1.146C12.951 1.244 13 1.362 13 1.5C13 1.638 12.951 1.756 12.854 1.854L8.854 5.854C8.754 5.953 8.636 6.003 8.5 6.003C8.364 6.003 8.246 5.953 8.146 5.854L6.5 4.207L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L6.146 3.146C6.244 3.049 6.362 3 6.5 3ZM5 11L2 11L2 8L5 8L5 11ZM7.144 9.856C7.048 9.759 7 9.641 7 9.5C7 9.359 7.048 9.241 7.144 9.144C7.241 9.048 7.359 9 7.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L7.5 10C7.359 10 7.241 9.952 7.144 9.856ZM5 15L2 15L2 12L5 12L5 15ZM7.144 13.856C7.048 13.759 7 13.641 7 13.5C7 13.359 7.048 13.241 7.144 13.144C7.241 13.048 7.359 13 7.5 13L14.5 13C14.641 13 14.759 13.048 14.856 13.144C14.952 13.241 15 13.359 15 13.5C15 13.641 14.952 13.759 14.856 13.856C14.759 13.952 14.641 14 14.5 14L7.5 14C7.359 14 7.241 13.952 7.144 13.856Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "chart-legend" (line-round), MIT. https://gentleface.com/icons/chart-legend
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#chart-legend"/></svg>
```

### SwiftUI

```swift
// Gentleface "chart-legend" (line-round), MIT. https://gentleface.com/icons/chart-legend
import SwiftUI

struct ChartLegendIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 6.5, y: 3))
        p.addCurve(to: CGPoint(x: 6.854, y: 3.146), control1: CGPoint(x: 6.638, y: 3), control2: CGPoint(x: 6.756, y: 3.049))
        p.addLine(to: CGPoint(x: 8.5, y: 4.793))
        p.addLine(to: CGPoint(x: 12.146, y: 1.146))
        p.addCurve(to: CGPoint(x: 12.5, y: 0.997), control1: CGPoint(x: 12.246, y: 1.047), control2: CGPoint(x: 12.364, y: 0.997))
        p.addCurve(to: CGPoint(x: 12.854, y: 1.146), control1: CGPoint(x: 12.636, y: 0.997), control2: CGPoint(x: 12.754, y: 1.047))
        p.addCurve(to: CGPoint(x: 13, y: 1.5), control1: CGPoint(x: 12.951, y: 1.244), control2: CGPoint(x: 13, y: 1.362))
        p.addCurve(to: CGPoint(x: 12.854, y: 1.854), control1: CGPoint(x: 13, y: 1.638), control2: CGPoint(x: 12.951, y: 1.756))
        p.addLine(to: CGPoint(x: 8.854, y: 5.854))
        p.addCurve(to: CGPoint(x: 8.5, y: 6.003), control1: CGPoint(x: 8.754, y: 5.953), control2: CGPoint(x: 8.636, y: 6.003))
        p.addCurve(to: CGPoint(x: 8.146, y: 5.854), control1: CGPoint(x: 8.364, y: 6.003), control2: CGPoint(x: 8.246, y: 5.953))
        p.addLine(to: CGPoint(x: 6.5, y: 4.207))
        p.addLine(to: CGPoint(x: 3.854, y: 6.854))
        p.addCurve(to: CGPoint(x: 3.5, y: 7), control1: CGPoint(x: 3.756, y: 6.951), control2: CGPoint(x: 3.638, y: 7))
        p.addCurve(to: CGPoint(x: 3.146, y: 6.854), control1: CGPoint(x: 3.362, y: 7), control2: CGPoint(x: 3.244, y: 6.951))
        p.addCurve(to: CGPoint(x: 2.997, y: 6.5), control1: CGPoint(x: 3.047, y: 6.754), control2: CGPoint(x: 2.997, y: 6.636))
        p.addCurve(to: CGPoint(x: 3.146, y: 6.146), control1: CGPoint(x: 2.997, y: 6.364), control2: CGPoint(x: 3.047, y: 6.246))
        p.addLine(to: CGPoint(x: 6.146, y: 3.146))
        p.addCurve(to: CGPoint(x: 6.5, y: 3), control1: CGPoint(x: 6.244, y: 3.049), control2: CGPoint(x: 6.362, y: 3))
        p.closeSubpath()
        p.move(to: CGPoint(x: 5, y: 11))
        p.addLine(to: CGPoint(x: 2, y: 11))
        p.addLine(to: CGPoint(x: 2, y: 8))
        p.addLine(to: CGPoint(x: 5, y: 8))
        p.addLine(to: CGPoint(x: 5, y: 11))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7.144, y: 9.856))
        p.addCurve(to: CGPoint(x: 7, y: 9.5), control1: CGPoint(x: 7.048, y: 9.759), control2: CGPoint(x: 7, y: 9.641))
        p.addCurve(to: CGPoint(x: 7.144, y: 9.144), control1: CGPoint(x: 7, y: 9.359), control2: CGPoint(x: 7.048, y: 9.241))
        p.addCurve(to: CGPoint(x: 7.5, y: 9), control1: CGPoint(x: 7.241, y: 9.048), control2: CGPoint(x: 7.359, y: 9))
        p.addLine(to: CGPoint(x: 14.5, y: 9))
        p.addCurve(to: CGPoint(x: 14.856, y: 9.144), control1: CGPoint(x: 14.641, y: 9), control2: CGPoint(x: 14.759, y: 9.048))
        p.addCurve(to: CGPoint(x: 15, y: 9.5), control1: CGPoint(x: 14.952, y: 9.241), control2: CGPoint(x: 15, y: 9.359))
        p.addCurve(to: CGPoint(x: 14.856, y: 9.856), control1: CGPoint(x: 15, y: 9.641), control2: CGPoint(x: 14.952, y: 9.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 10), control1: CGPoint(x: 14.759, y: 9.952), control2: CGPoint(x: 14.641, y: 10))
        p.addLine(to: CGPoint(x: 7.5, y: 10))
        p.addCurve(to: CGPoint(x: 7.144, y: 9.856), control1: CGPoint(x: 7.359, y: 10), control2: CGPoint(x: 7.241, y: 9.952))
        p.closeSubpath()
        p.move(to: CGPoint(x: 5, y: 15))
        p.addLine(to: CGPoint(x: 2, y: 15))
        p.addLine(to: CGPoint(x: 2, y: 12))
        p.addLine(to: CGPoint(x: 5, y: 12))
        p.addLine(to: CGPoint(x: 5, y: 15))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7.144, y: 13.856))
        p.addCurve(to: CGPoint(x: 7, y: 13.5), control1: CGPoint(x: 7.048, y: 13.759), control2: CGPoint(x: 7, y: 13.641))
        p.addCurve(to: CGPoint(x: 7.144, y: 13.144), control1: CGPoint(x: 7, y: 13.359), control2: CGPoint(x: 7.048, y: 13.241))
        p.addCurve(to: CGPoint(x: 7.5, y: 13), control1: CGPoint(x: 7.241, y: 13.048), control2: CGPoint(x: 7.359, y: 13))
        p.addLine(to: CGPoint(x: 14.5, y: 13))
        p.addCurve(to: CGPoint(x: 14.856, y: 13.144), control1: CGPoint(x: 14.641, y: 13), control2: CGPoint(x: 14.759, y: 13.048))
        p.addCurve(to: CGPoint(x: 15, y: 13.5), control1: CGPoint(x: 14.952, y: 13.241), control2: CGPoint(x: 15, y: 13.359))
        p.addCurve(to: CGPoint(x: 14.856, y: 13.856), control1: CGPoint(x: 15, y: 13.641), control2: CGPoint(x: 14.952, y: 13.759))
        p.addCurve(to: CGPoint(x: 14.5, y: 14), control1: CGPoint(x: 14.759, y: 13.952), control2: CGPoint(x: 14.641, y: 14))
        p.addLine(to: CGPoint(x: 7.5, y: 14))
        p.addCurve(to: CGPoint(x: 7.144, y: 13.856), control1: CGPoint(x: 7.359, y: 14), control2: CGPoint(x: 7.241, y: 13.952))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// ChartLegendIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "chart-legend" (line-round), MIT. https://gentleface.com/icons/chart-legend
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val ChartLegendIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "chart-legend", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M6.5 3C6.638 3 6.756 3.049 6.854 3.146L8.5 4.793L12.146 1.146C12.246 1.047 12.364 0.997 12.5 0.997C12.636 0.997 12.754 1.047 12.854 1.146C12.951 1.244 13 1.362 13 1.5C13 1.638 12.951 1.756 12.854 1.854L8.854 5.854C8.754 5.953 8.636 6.003 8.5 6.003C8.364 6.003 8.246 5.953 8.146 5.854L6.5 4.207L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L6.146 3.146C6.244 3.049 6.362 3 6.5 3ZM5 11L2 11L2 8L5 8L5 11ZM7.144 9.856C7.048 9.759 7 9.641 7 9.5C7 9.359 7.048 9.241 7.144 9.144C7.241 9.048 7.359 9 7.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L7.5 10C7.359 10 7.241 9.952 7.144 9.856ZM5 15L2 15L2 12L5 12L5 15ZM7.144 13.856C7.048 13.759 7 13.641 7 13.5C7 13.359 7.048 13.241 7.144 13.144C7.241 13.048 7.359 13 7.5 13L14.5 13C14.641 13 14.759 13.048 14.856 13.144C14.952 13.241 15 13.359 15 13.5C15 13.641 14.952 13.759 14.856 13.856C14.759 13.952 14.641 14 14.5 14L7.5 14C7.359 14 7.241 13.952 7.144 13.856Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(ChartLegendIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_chart_legend.xml · Gentleface "chart-legend" (line-round), MIT. https://gentleface.com/icons/chart-legend -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M6.5 3C6.638 3 6.756 3.049 6.854 3.146L8.5 4.793L12.146 1.146C12.246 1.047 12.364 0.997 12.5 0.997C12.636 0.997 12.754 1.047 12.854 1.146C12.951 1.244 13 1.362 13 1.5C13 1.638 12.951 1.756 12.854 1.854L8.854 5.854C8.754 5.953 8.636 6.003 8.5 6.003C8.364 6.003 8.246 5.953 8.146 5.854L6.5 4.207L3.854 6.854C3.756 6.951 3.638 7 3.5 7C3.362 7 3.244 6.951 3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146L6.146 3.146C6.244 3.049 6.362 3 6.5 3ZM5 11L2 11L2 8L5 8L5 11ZM7.144 9.856C7.048 9.759 7 9.641 7 9.5C7 9.359 7.048 9.241 7.144 9.144C7.241 9.048 7.359 9 7.5 9L14.5 9C14.641 9 14.759 9.048 14.856 9.144C14.952 9.241 15 9.359 15 9.5C15 9.641 14.952 9.759 14.856 9.856C14.759 9.952 14.641 10 14.5 10L7.5 10C7.359 10 7.241 9.952 7.144 9.856ZM5 15L2 15L2 12L5 12L5 15ZM7.144 13.856C7.048 13.759 7 13.641 7 13.5C7 13.359 7.048 13.241 7.144 13.144C7.241 13.048 7.359 13 7.5 13L14.5 13C14.641 13 14.759 13.048 14.856 13.144C14.952 13.241 15 13.359 15 13.5C15 13.641 14.952 13.759 14.856 13.856C14.759 13.952 14.641 14 14.5 14L7.5 14C7.359 14 7.241 13.952 7.144 13.856Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "chart-legend" (line-round), MIT. https://gentleface.com/icons/chart-legend
import 'package:flutter/widgets.dart';

class ChartLegendIcon extends StatelessWidget {
  const ChartLegendIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _ChartLegendIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _ChartLegendIconPainter extends CustomPainter {
  _ChartLegendIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(6.5, 3)
      ..cubicTo(6.638, 3, 6.756, 3.049, 6.854, 3.146)
      ..lineTo(8.5, 4.793)
      ..lineTo(12.146, 1.146)
      ..cubicTo(12.246, 1.047, 12.364, 0.997, 12.5, 0.997)
      ..cubicTo(12.636, 0.997, 12.754, 1.047, 12.854, 1.146)
      ..cubicTo(12.951, 1.244, 13, 1.362, 13, 1.5)
      ..cubicTo(13, 1.638, 12.951, 1.756, 12.854, 1.854)
      ..lineTo(8.854, 5.854)
      ..cubicTo(8.754, 5.953, 8.636, 6.003, 8.5, 6.003)
      ..cubicTo(8.364, 6.003, 8.246, 5.953, 8.146, 5.854)
      ..lineTo(6.5, 4.207)
      ..lineTo(3.854, 6.854)
      ..cubicTo(3.756, 6.951, 3.638, 7, 3.5, 7)
      ..cubicTo(3.362, 7, 3.244, 6.951, 3.146, 6.854)
      ..cubicTo(3.047, 6.754, 2.997, 6.636, 2.997, 6.5)
      ..cubicTo(2.997, 6.364, 3.047, 6.246, 3.146, 6.146)
      ..lineTo(6.146, 3.146)
      ..cubicTo(6.244, 3.049, 6.362, 3, 6.5, 3)
      ..close()
      ..moveTo(5, 11)
      ..lineTo(2, 11)
      ..lineTo(2, 8)
      ..lineTo(5, 8)
      ..lineTo(5, 11)
      ..close()
      ..moveTo(7.144, 9.856)
      ..cubicTo(7.048, 9.759, 7, 9.641, 7, 9.5)
      ..cubicTo(7, 9.359, 7.048, 9.241, 7.144, 9.144)
      ..cubicTo(7.241, 9.048, 7.359, 9, 7.5, 9)
      ..lineTo(14.5, 9)
      ..cubicTo(14.641, 9, 14.759, 9.048, 14.856, 9.144)
      ..cubicTo(14.952, 9.241, 15, 9.359, 15, 9.5)
      ..cubicTo(15, 9.641, 14.952, 9.759, 14.856, 9.856)
      ..cubicTo(14.759, 9.952, 14.641, 10, 14.5, 10)
      ..lineTo(7.5, 10)
      ..cubicTo(7.359, 10, 7.241, 9.952, 7.144, 9.856)
      ..close()
      ..moveTo(5, 15)
      ..lineTo(2, 15)
      ..lineTo(2, 12)
      ..lineTo(5, 12)
      ..lineTo(5, 15)
      ..close()
      ..moveTo(7.144, 13.856)
      ..cubicTo(7.048, 13.759, 7, 13.641, 7, 13.5)
      ..cubicTo(7, 13.359, 7.048, 13.241, 7.144, 13.144)
      ..cubicTo(7.241, 13.048, 7.359, 13, 7.5, 13)
      ..lineTo(14.5, 13)
      ..cubicTo(14.641, 13, 14.759, 13.048, 14.856, 13.144)
      ..cubicTo(14.952, 13.241, 15, 13.359, 15, 13.5)
      ..cubicTo(15, 13.641, 14.952, 13.759, 14.856, 13.856)
      ..cubicTo(14.759, 13.952, 14.641, 14, 14.5, 14)
      ..lineTo(7.5, 14)
      ..cubicTo(7.359, 14, 7.241, 13.952, 7.144, 13.856)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_ChartLegendIconPainter old) => old.color != color;
}
```
