[[["์ดํดํ๊ธฐ ์ฌ์","easyToUnderstand","thumb-up"],["๋ฌธ์ ๊ฐ ํด๊ฒฐ๋จ","solvedMyProblem","thumb-up"],["๊ธฐํ","otherUp","thumb-up"]],[["์ดํดํ๊ธฐ ์ด๋ ค์","hardToUnderstand","thumb-down"],["์๋ชป๋ ์ ๋ณด ๋๋ ์ํ ์ฝ๋","incorrectInformationOrSampleCode","thumb-down"],["ํ์ํ ์ ๋ณด/์ํ์ด ์์","missingTheInformationSamplesINeed","thumb-down"],["๋ฒ์ญ ๋ฌธ์ ","translationIssue","thumb-down"],["๊ธฐํ","otherDown","thumb-down"]],["์ต์ข ์ ๋ฐ์ดํธ: 2024-12-22(UTC)"],[],[],null,["# Creating a bullet chart with the Chart Config Editor\n\n| **Note:** Starting in Looker 24.4, the Chart Config Editor supports the creation of bullet charts.\n\nBullet charts are useful for showing performance against a target, or progress on a goal.\n\nUsing the [Chart Config Editor](/looker/docs/chart-config-editor), you can create bullet charts by starting from a bar chart in Looker.\n\nFor example, the following bullet chart compares the **New Customers Count** measure, represented by a blue progress bar, to a target value of 40, represented by a blue vertical line. The chart also indicates progress buckets between 0 and 20, between 20 and 40, and between 40 and 80, each represented by a different shade of grey.\n\nPrerequisites\n-------------\n\nTo access the Chart Config Editor, you must have the [`can_override_vis_config` permission](/looker/docs/admin-panel-users-roles#can_override_vis_config).\n\n### Writing the JSON snippet\n\nTo create a bullet chart, start from the following JSON snippet: \n\n {\n chart: {\n type: 'bullet'\n },\n xAxis: {\n categories: ['New Customers']\n },\n yAxis: {\n plotBands: [{\n from: 0,\n to: 20,\n color: '#666666'\n }, {\n from: 20,\n to: 40,\n color: '#999999'\n }, {\n from: 40,\n to: 80,\n color: '#bbbbbb'\n }],\n },\n series: [{\n data: [{\n target: 40\n }]\n }],\n }\n\nChange the following values to fit your use case:\n\n- The `xAxis.categories` attribute overwrites the label of the X-axis. In this example, the X-axis label should be the measure name **New Customers**.\n- The `yAxis.plotBands` attribute specifies the background color of the chart for certain values. In this example, the background color is dark grey (`#666666`) between 0 and 20, medium grey (`#999999`) between 20 and 40, and light grey (`#bbbbbb`) between 40 and 80.\n- The `series.data.target` attribute specifies the target value for the bullet chart, which will appear as a vertical line. In this example, the target is 40.\n\n### Creating a bullet chart\n\nTo create a bullet chart, follow these steps:\n\n1. View a [bar chart](/looker/docs/bar-options) in an Explore, or edit a bar chart in a Look or dashboard.\n\n For this example, we recommend starting from a bar chart with one dimension and one measure, with a limit of one row. Your starting chart might look something like this example:\n\n2. Open the **Edit** menu in the visualization.\n\n3. In the **Plot** tab, click the **Edit Chart Config** button. Looker displays the **Edit Chart Config** dialog.\n\n4. Select the **Chart Config (Override)** section, and enter the HighCharts JSON from the [Writing the JSON snippet](#json) section of this page.\n\n5. To allow Looker to properly format your JSON, click **\\\u003c\\\u003e (Format code)**.\n\n6. To test your changes, click **Preview**.\n\n7. To apply your changes, click **Apply**. The visualization will be displayed using the custom JSON values.\n\nOnce you've customized your visualization, you can save it. If you viewed the visualization in an Explore, [save the Explore](/looker/docs/viewing-and-interacting-with-explores#the_explore_actions_gear_menu). If you edited a Look or a dashboard, click **Save**."]]