Skip to content

Quota Attainment Bullet

Bullet style
type: "bullet"

Render quota attainment images — percent-to-goal bullet bars with a 100% target marker — set per API call. Create sales scorecards free with imejis.

Edit it — this is the actual editor panel
Design JSON — “Quota attainment” variant
{
  "title": "Bullet sample",
  "description": "A KPI actual-vs-target scorecard",
  "dimensions": {
    "width": 800,
    "height": 420
  },
  "background": {
    "color": "#ffffff"
  },
  "components": [
    {
      "id": "sample-bullet",
      "key": "bullet",
      "type": "bullet",
      "position": {
        "x": 170,
        "y": 110
      },
      "rotation": 0,
      "size": {
        "width": 460,
        "height": 200
      },
      "dynamic": true,
      "properties": {
        "data": [
          {
            "label": "Revenue",
            "value": 268,
            "target": 250,
            "ranges": [
              150,
              225,
              300
            ]
          },
          {
            "label": "Profit",
            "value": 21,
            "target": 26,
            "ranges": [
              12,
              20,
              30
            ]
          },
          {
            "label": "Orders",
            "value": 1320,
            "target": 1500,
            "ranges": [
              800,
              1200,
              1600
            ]
          }
        ],
        "measureColor": "#16a34a",
        "targetColor": "#0f172a",
        "showValues": true,
        "showTarget": true,
        "valueFormat": "percent",
        "opacity": 1
      }
    }
  ]
}

Bullet examples

Real renders of the quota attainment bullet — each one is the same component with different property values, and the API payload below each preview reproduces it exactly.

Rep quota attainment

Each rep as a percent-to-quota bar with a 100% target tick.

API overrides for this example
{
  "bullet.measureColor": "#16a34a",
  "bullet.valueFormat": "percent",
  "bullet.data": [
    {
      "label": "Dana",
      "value": 112,
      "target": 100,
      "max": 140,
      "ranges": [
        60,
        90,
        140
      ]
    },
    {
      "label": "Rai",
      "value": 88,
      "target": 100,
      "max": 140,
      "ranges": [
        60,
        90,
        140
      ]
    },
    {
      "label": "Kim",
      "value": 74,
      "target": 100,
      "max": 140,
      "ranges": [
        60,
        90,
        140
      ]
    }
  ]
}

Team goal completion

Squad progress toward a shared goal, all on one 0–120% scale.

API overrides for this example
{
  "bullet.measureColor": "#7c3aed",
  "bullet.valueFormat": "percent",
  "bullet.data": [
    {
      "label": "Growth",
      "value": 96,
      "target": 100,
      "max": 120,
      "ranges": [
        50,
        80,
        120
      ]
    },
    {
      "label": "Platform",
      "value": 108,
      "target": 100,
      "max": 120,
      "ranges": [
        50,
        80,
        120
      ]
    },
    {
      "label": "Mobile",
      "value": 67,
      "target": 100,
      "max": 120,
      "ranges": [
        50,
        80,
        120
      ]
    }
  ]
}

When to use the quota attainment style

  • Sales rep quota attainment cards
  • Team goal-completion dashboards
  • Weekly percent-to-target Slack graphics

Use it dynamically via the API

Push fresh rows per render with '<key>.data' as [{ label, value, target, ranges }]; the target marker and bands update with them.

Full API request with this variant's current values — the playground above sends only the properties you change
curl --location 'https://render.imejis.io/v1/{{YOUR_DESIGN_ID}}' \
--header 'dma-api-key: {{YOUR_API_KEY}}' \
--header 'Content-Type: application/json' \
--data '{
    "bullet.data": [
        {
            "label": "Revenue",
            "value": 268,
            "target": 250,
            "ranges": [
                150,
                225,
                300
            ]
        },
        {
            "label": "Profit",
            "value": 21,
            "target": 26,
            "ranges": [
                12,
                20,
                30
            ]
        },
        {
            "label": "Orders",
            "value": 1320,
            "target": 1500,
            "ranges": [
                800,
                1200,
                1600
            ]
        }
    ],
    "bullet.measureColor": "#16a34a",
    "bullet.targetColor": "#0f172a",
    "bullet.showValues": true,
    "bullet.showTarget": true,
    "bullet.valueFormat": "percent",
    "bullet.opacity": 1
}'

Only send the properties you want to change — everything else keeps its design value. See the API documentation for all languages.

Other bullet styles

DefaultQuota attainmentDark

See the bullet component page for the full property reference and FAQs.

We use cookies to run the site and, depending on your region and your choice here, for analytics and marketing. See our Cookie Policy. You can change this any time from “Cookie settings” in the footer.