List eligible chart types
list_eligible_chartsThe AUTHORITATIVE list of chart types (maps, tables a reader works with and app widgets included) that can render this dataset - the server's own eligibility engine, NOT a guess. Pass the table as data ({columns, rows}) or csv_text. This hosted server receives your table, profiles it in memory and sends only the profile to generation; rows aren't stored or logged. Ranked for JavaScript (D3) unless you pass language ('python' ranks Plotly and matplotlib) or renderer ('D3'/'PLOTLY'/... for one renderer, '' for every renderer). No model runs, but the call is METERED: free within a generous hourly allowance, then usage credits per call.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_eligible_charts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Show only the top-N ranked results. Omit for all. | |
| data | No | A pre-typed {columns, rows} table — the shape a Fabric DAX query / dataframe already has. Alternative to csv_path/csv_text; when columns carry isMeasure/format/description the shape matches PBI fidelity with no guessing. | |
| order | No | How the list is ordered. 'fit' (the default) = by how well each chart type fits THIS data, nothing else - use it to choose a chart for a question. 'variety' = the picker's selection order, which favors newer and less-common types on purpose - use it when the user wants to explore or be surprised. Both lists hold the same chart types; only the order differs. | |
| width | No | Viewport width px (default 800) — affects small-viewport / facet-budget gates. | |
| height | No | Viewport height px (default 600). | |
| culture | No | The caller's language and region as a BCP 47 tag such as 'de-DE', 'fr' or 'ja-JP'. Default 'en-US'. It is the language the chart's own text is written in (titles, axis labels, legends, notes), and it breaks the tie when a CSV's numbers or dates are ambiguous: 12.500 as twelve thousand five hundred or twelve and a half, 05.03.2024 as 5 March or 3 May. Set it from the end user's locale when you know it; it does not translate the data. | |
| formats | No | Per-column number/date FORMAT STRING (e.g. {"Revenue":"$#,##0","Margin":"0.0%"}). PBI supplies these from its model; a CSV can't, so provide them to steer number formatting. | |
| csv_path | No | Not accepted by this hosted server: this hosted server can't read files on your machine, so pass the table as data or csv_text. | |
| csv_text | No | Inline CSV text (alternative to csv_path). | |
| group_by | No | Columns that are the PRIMARY series/breakdown (the PBI 'Group by' well); the backend leads the visualization with these. | |
| language | No | Project source language: javascript/typescript ranks D3, python ranks Plotly and matplotlib. Omit for JavaScript; `renderer`, when given, overrides it. | |
| measures | No | Columns to treat as MEASURES (the PBI 'Values' well — fields the chart aggregates). Numeric non-identifier columns are measures by default. | |
| renderer | No | Force a specific renderer (overrides `language`): a concrete renderer ranks that renderer's charts; '' = the full renderer-agnostic eligibility (all renderers, ranked by chart type alone). Omit to use `language`/auto-detection. | |
| dimensions | No | Columns to treat as DIMENSIONS (a PBI category/axis well — fields to group/break by). Use for numeric codes/years that should NOT be aggregated. | |
| chart_style | No | The user's own preference for which family of charts the list covers, as they've stated it. 'traditional' lists only the familiar forms (bar, stacked and grouped bar, line, area, pie, donut, card, gauge), 'non_traditional' lists only the other chart types; a type outside the chosen family is left out. Unset when they haven't stated one; unset changes nothing. | |
| name_filter | No | Show only chart types matching this text (the same matcher the Power BI and Excel chart-type lists use). Three tiers, first non-empty one wins outright: the term starting a WORD in the name ('gan' -> Gantt chart, and NOT Organization chart), then mid-word in the name ('eth' -> Choropleth), then the description. A name match therefore SUPPRESSES description matches. Case- and accent-insensitive and, by default, space- and punctuation-insensitive too ('barchart' and 'bar-chart' find Bar chart; see name_filter_match). Minimum two characters, and it never reorders - the picker's ranking is preserved and the ranks stay as issued. Applied after ranking and before `top`. | |
| project_dir | No | Not accepted by this hosted server: this hosted server can't see your project folder, so pass language or renderer instead. | |
| descriptions | No | Per-column human DESCRIPTION — gives the model semantic context the bare column name lacks. | |
| non_additive | No | MEASURE columns that must NOT be summed (a ratio/average/rate — use mean, never stack). Usually auto-detected; this is an authoritative override. | |
| privacy_level | No | How much detail to compute/share: 0 names only, 10 +counts, 20 +detailed stats (default), 30 +obfuscated sample rows. | |
| level_of_detail | No | The user's own preference for how much of the data to see, as they've stated it. 'High' = every observation as its own mark, 'Medium' = every row shown as a distribution, 'Low' = one mark per category. Ranks this list the same way a generation would. Unset when they haven't stated one; unset changes nothing. | |
| name_filter_match | No | How name_filter matches a name. 'loose' (the default) ignores accents, case, spaces and punctuation, so 'barchart' finds Bar chart. 'exact' folds accents and case and collapses repeated spaces, and nothing else: a name typed without its space or hyphen matches nothing. The same setting the Power BI and Excel chart-type lists offer. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| order | Yes | The order the rows are in: by fit to this data, or the picker's selection order. | |
| shown | Yes | How many rows this answer carries. | |
| charts | Yes | One row per chart type; a type that fits only once the rows are totalled is listed once per grain, in the order issued. | |
| filter | Yes | The name_filter applied, or null. | |
| metering | Yes | What this call cost, in the words the text block states it in. | |
| eligibleCount | Yes | How many chart types can render this data before any name_filter or top. |