Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
a09edc1
Limit d3 color to the utility needed
atisjai Nov 26, 2025
575ee59
Add support for vega lite for fluent charts
atisjai Nov 30, 2025
567feea
Improvements and bug fixes
atisjai Dec 6, 2025
2d7a086
Fix formatting
atisjai Dec 6, 2025
1c61cdf
Fix formatting
atisjai Dec 7, 2025
3386c5c
Fix lint errors
atisjai Dec 7, 2025
d095f0a
Fix lint errors
atisjai Dec 7, 2025
ed21fa2
Fix tests
atisjai Dec 18, 2025
cdd710e
Merge branch 'master' into usr/atisjai/vegaLiteFluent
atisjai Dec 18, 2025
eb9b320
Fix formatting
atisjai Dec 19, 2025
c8e285f
Merge branch 'master' into usr/atisjai/vegaLiteFluent
atisjai Jan 7, 2026
6bae230
Fix color fix bars issue
atisjai Jan 7, 2026
e3dd838
Fix test lint
atisjai Jan 7, 2026
1b91e49
Fix issue
atisjai Jan 7, 2026
3fb4e69
Fix issues
atisjai Jan 10, 2026
9eb6319
Fix tests
atisjai Jan 10, 2026
24eacdf
Fix bugs
atisjai Jan 16, 2026
e03162f
Merge branch 'master' into usr/atisjai/vegaLiteFluent
atisjai Jan 16, 2026
1dbdd1c
Fix formatting issues
atisjai Jan 17, 2026
db2e585
Update snapshots
atisjai Jan 17, 2026
23cce90
Merge branch 'master' into usr/atisjai/vegaLiteFluent
atisjai Jan 18, 2026
d6050b0
Update snapshots
atisjai Jan 18, 2026
2501a04
Update snapshots
atisjai Jan 18, 2026
c64fecf
Fix type check errors
atisjai Jan 18, 2026
9f82062
Fix formatting errors
atisjai Jan 18, 2026
15bee29
Fix non-deterministic IDs in VegaDeclarativeChart tests
atisjai Jan 18, 2026
5c882a1
Fix non-deterministic IDs in VegaDeclarativeChart tests
atisjai Jan 18, 2026
63a96f3
Merge branch 'usr/atisjai/vegaLiteFluent' of https://github.com/Atish…
atisjai Jan 18, 2026
fa663c2
Fix tests
atisjai Jan 18, 2026
00e2779
Fix issues
atisjai Jan 18, 2026
acc0033
Fix type check issues
atisjai Jan 19, 2026
8a61a3f
Fix lint errors
atisjai Jan 19, 2026
595efe6
Update storybook to load contrib repo schemas
atisjai Jan 19, 2026
e5ff246
Fix issue
atisjai Jan 19, 2026
4c72c6f
Fix issues
atisjai Jan 19, 2026
c2abb79
Fix issues
atisjai Jan 19, 2026
37c3428
Fix formatting
atisjai Jan 28, 2026
fabbd23
Fix test snapshots
atisjai Jan 29, 2026
05c97a8
Merge remote-tracking branch 'origin/master' into usr/atisjai/vegaLit…
atisjai Jan 29, 2026
59271f0
Fix test snapshots
atisjai Jan 29, 2026
e644a44
Update snapshots and restricted TZ to UTC
atisjai Jan 30, 2026
4df7f14
Fix imports
atisjai Jan 30, 2026
d9ffe65
Add change file
atisjai Jan 30, 2026
89d2070
Remove unnecessary files
atisjai Jan 30, 2026
5f01e0f
Cleanup
atisjai Feb 8, 2026
268b724
Add aggregate support, auto-correct types, fix chart routing and heat…
atisjai Feb 16, 2026
1e48832
Add e2e test infrastructure and review documentation
atisjai Feb 16, 2026
0acdab5
Remove console.warn calls from production code
atisjai Feb 16, 2026
aa5a417
Fix bugs
atisjai Feb 16, 2026
25c274e
Fix bugs
atisjai Feb 18, 2026
13be71f
Fix bugs
atisjai Feb 18, 2026
d8dff33
Fix bugs
atisjai Feb 18, 2026
e5b2638
Fix bugs
atisjai Feb 22, 2026
e1e13ac
Fix bug
atisjai Mar 1, 2026
cf2bc21
Fix legend clipping in hconcat/vconcat layouts
atisjai Mar 1, 2026
dd1fc4e
Render shared legend outside grid for hconcat/vconcat layouts
atisjai Mar 1, 2026
27ac61b
Wire shared legend selection to all sub-charts in concat layouts
atisjai Mar 1, 2026
2cceb77
Add test for hconcat shared legend rendering
atisjai Mar 1, 2026
0dcf10f
Clean up PR: revert DeclarativeChart changes, remove helper files
atisjai Mar 1, 2026
5e23cb2
Revert config/tests.js - resetIdsForTests already called in test files
atisjai Mar 1, 2026
a881fc6
Revert package.json changes - remove vega-lite dependency and e2e script
atisjai Mar 1, 2026
3728c06
Move DeclarativeChartHooks to VegaDeclarativeChart folder
atisjai Mar 1, 2026
de662b8
Fix formatting with nx format:write
atisjai Mar 1, 2026
180af3c
Fix strict tsconfig.lib.json build errors
atisjai Mar 1, 2026
a7ba254
Fix formatting for VegaDeclarativeChart.tsx
atisjai Mar 1, 2026
ee1bb10
Update react-charts.api.md for new VegaDeclarativeChart exports
atisjai Mar 1, 2026
05fb8fe
Fix react-charts.api.md to match reverted Schema interface
atisjai Mar 1, 2026
64a0ba7
Restore VegaDeclarativeChart exports in index.ts and api.md
atisjai Mar 1, 2026
700f656
Update public api
atisjai Mar 1, 2026
a7ac7db
Fix test type errors: annotate spec variables with VegaLiteSpec type
atisjai Mar 1, 2026
7c7e45d
Add arc to VegaLiteMark, xOffset/tooltip to VegaLiteEncoding, fix dom…
atisjai Mar 1, 2026
80a0e35
Fix possibly-undefined errors in adapter unit tests
atisjai Mar 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "(feat): Add support for vega based schema",
"packageName": "@fluentui/react-charts",
"email": "atisjai@microsoft.com",
"dependentChangeType": "patch"
}
68 changes: 68 additions & 0 deletions packages/charts/react-charts/library/etc/react-charts.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1835,6 +1835,74 @@ export interface SparklineStyles {
// @public (undocumented)
export const Textbox: React_2.FunctionComponent<TextboxProps>;

// @public
export const VegaDeclarativeChart: React_2.ForwardRefExoticComponent<VegaDeclarativeChartProps & React_2.RefAttributes<HTMLDivElement>>;

// @public
export interface VegaDeclarativeChartProps {
chartSchema: VegaSchema;
className?: string;
onSchemaChange?: (newSchema: VegaSchema) => void;
style?: React_2.CSSProperties;
}

// @public
export interface VegaLiteSpec {
$schema?: string;
autosize?: string | {
type?: string;
contains?: string;
};
background?: string;
config?: Record<string, unknown>;
data?: VegaLiteData;
description?: string;
encoding?: VegaLiteEncoding;
facet?: Record<string, unknown>;
hconcat?: VegaLiteSpec[];
height?: number | 'container';
layer?: VegaLiteUnitSpec[];
mark?: VegaLiteMarkDef;
padding?: number | {
top?: number;
bottom?: number;
left?: number;
right?: number;
};
repeat?: Record<string, unknown>;
resolve?: {
scale?: {
x?: 'shared' | 'independent';
y?: 'shared' | 'independent';
color?: 'shared' | 'independent';
opacity?: 'shared' | 'independent';
size?: 'shared' | 'independent';
shape?: 'shared' | 'independent';
};
axis?: {
x?: 'shared' | 'independent';
y?: 'shared' | 'independent';
};
legend?: {
color?: 'shared' | 'independent';
opacity?: 'shared' | 'independent';
size?: 'shared' | 'independent';
shape?: 'shared' | 'independent';
};
};
selection?: Record<string, unknown>;
title?: string | VegaLiteTitleParams;
transform?: Array<Record<string, unknown>>;
vconcat?: VegaLiteSpec[];
width?: number | 'container';
}

// @public
export interface VegaSchema {
selectedLegends?: string[];
vegaLiteSpec: VegaLiteSpec;
}

// @public
export const VerticalBarChart: React_2.FunctionComponent<VerticalBarChartProps>;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './components/VegaDeclarativeChart';
Loading