├── .eslintrc.json ├── .github └── workflows │ ├── checks.yml │ └── semantic-release.yml ├── .gitignore ├── .nvmrc ├── .releaserc.json ├── LICENSE ├── README.md ├── __mocks__ └── fileMocks.js ├── demo ├── .babelrc ├── public │ ├── favicon.ico │ ├── favicon.png │ └── index.html ├── src │ ├── App.tsx │ ├── Components │ │ ├── CodeBlock.tsx │ │ └── SchemaEditor.tsx │ ├── Navigation.tsx │ ├── Pages │ │ ├── List.tsx │ │ ├── ListItem.tsx │ │ ├── Show.tsx │ │ └── index.ts │ ├── globals.d.ts │ ├── helpers.ts │ ├── index.tsx │ └── schemas │ │ ├── complex.ts │ │ ├── dynamicGrouped.ts │ │ ├── dynamicScatter.ts │ │ ├── index.ts │ │ ├── legendLikeTooltip.ts │ │ ├── lineWithDots.ts │ │ ├── pie.ts │ │ ├── scatterWithCustomPoints.tsx │ │ ├── stackedBar.ts │ │ ├── stackedLine.ts │ │ └── types.ts ├── tsconfig.json └── webpack.config.js ├── jest.config.json ├── package.json ├── src ├── __tests__ │ ├── Common │ │ ├── ResponsiveContainer.test.tsx │ │ ├── __snapshots__ │ │ │ └── ResponsiveContainer.test.tsx.snap │ │ └── helpers.test.ts │ └── Functions │ │ ├── axisFormat.test.ts │ │ ├── index.test.ts │ │ └── onClick.test.ts ├── components │ ├── Common │ │ ├── ResponsiveContainer.tsx │ │ ├── getLegendProps.tsx │ │ ├── helpers.ts │ │ └── stylePreprocess.ts │ ├── Functions │ │ ├── axisFormat.ts │ │ ├── index.ts │ │ ├── labelFormat.ts │ │ ├── onClick.ts │ │ ├── tooltip.ts │ │ └── types.ts │ ├── Renderers │ │ ├── CreatePieChart.tsx │ │ ├── CreateWrapper.tsx │ │ ├── createChart.tsx │ │ ├── createGroup.tsx │ │ └── createStack.tsx │ ├── index.tsx │ └── types.ts └── index.ts ├── tsconfig.cjs.json ├── tsconfig.eslint.json ├── tsconfig.esm.json └── tsconfig.json /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/checks.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/.github/workflows/checks.yml -------------------------------------------------------------------------------- /.github/workflows/semantic-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/.github/workflows/semantic-release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | coverage 4 | .vscode 5 | docs 6 | -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 15 -------------------------------------------------------------------------------- /.releaserc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/.releaserc.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/README.md -------------------------------------------------------------------------------- /__mocks__/fileMocks.js: -------------------------------------------------------------------------------- 1 | module.exports = 'test-file-stub'; 2 | -------------------------------------------------------------------------------- /demo/.babelrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/.babelrc -------------------------------------------------------------------------------- /demo/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/public/favicon.ico -------------------------------------------------------------------------------- /demo/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/public/favicon.png -------------------------------------------------------------------------------- /demo/public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/public/index.html -------------------------------------------------------------------------------- /demo/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/App.tsx -------------------------------------------------------------------------------- /demo/src/Components/CodeBlock.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/Components/CodeBlock.tsx -------------------------------------------------------------------------------- /demo/src/Components/SchemaEditor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/Components/SchemaEditor.tsx -------------------------------------------------------------------------------- /demo/src/Navigation.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/Navigation.tsx -------------------------------------------------------------------------------- /demo/src/Pages/List.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/Pages/List.tsx -------------------------------------------------------------------------------- /demo/src/Pages/ListItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/Pages/ListItem.tsx -------------------------------------------------------------------------------- /demo/src/Pages/Show.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/Pages/Show.tsx -------------------------------------------------------------------------------- /demo/src/Pages/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/Pages/index.ts -------------------------------------------------------------------------------- /demo/src/globals.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/globals.d.ts -------------------------------------------------------------------------------- /demo/src/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/helpers.ts -------------------------------------------------------------------------------- /demo/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/index.tsx -------------------------------------------------------------------------------- /demo/src/schemas/complex.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/schemas/complex.ts -------------------------------------------------------------------------------- /demo/src/schemas/dynamicGrouped.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/schemas/dynamicGrouped.ts -------------------------------------------------------------------------------- /demo/src/schemas/dynamicScatter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/schemas/dynamicScatter.ts -------------------------------------------------------------------------------- /demo/src/schemas/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/schemas/index.ts -------------------------------------------------------------------------------- /demo/src/schemas/legendLikeTooltip.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/schemas/legendLikeTooltip.ts -------------------------------------------------------------------------------- /demo/src/schemas/lineWithDots.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/schemas/lineWithDots.ts -------------------------------------------------------------------------------- /demo/src/schemas/pie.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/schemas/pie.ts -------------------------------------------------------------------------------- /demo/src/schemas/scatterWithCustomPoints.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/schemas/scatterWithCustomPoints.tsx -------------------------------------------------------------------------------- /demo/src/schemas/stackedBar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/schemas/stackedBar.ts -------------------------------------------------------------------------------- /demo/src/schemas/stackedLine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/schemas/stackedLine.ts -------------------------------------------------------------------------------- /demo/src/schemas/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/src/schemas/types.ts -------------------------------------------------------------------------------- /demo/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/tsconfig.json -------------------------------------------------------------------------------- /demo/webpack.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/demo/webpack.config.js -------------------------------------------------------------------------------- /jest.config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/jest.config.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/package.json -------------------------------------------------------------------------------- /src/__tests__/Common/ResponsiveContainer.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/__tests__/Common/ResponsiveContainer.test.tsx -------------------------------------------------------------------------------- /src/__tests__/Common/__snapshots__/ResponsiveContainer.test.tsx.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/__tests__/Common/__snapshots__/ResponsiveContainer.test.tsx.snap -------------------------------------------------------------------------------- /src/__tests__/Common/helpers.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/__tests__/Common/helpers.test.ts -------------------------------------------------------------------------------- /src/__tests__/Functions/axisFormat.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/__tests__/Functions/axisFormat.test.ts -------------------------------------------------------------------------------- /src/__tests__/Functions/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/__tests__/Functions/index.test.ts -------------------------------------------------------------------------------- /src/__tests__/Functions/onClick.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/__tests__/Functions/onClick.test.ts -------------------------------------------------------------------------------- /src/components/Common/ResponsiveContainer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/Common/ResponsiveContainer.tsx -------------------------------------------------------------------------------- /src/components/Common/getLegendProps.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/Common/getLegendProps.tsx -------------------------------------------------------------------------------- /src/components/Common/helpers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/Common/helpers.ts -------------------------------------------------------------------------------- /src/components/Common/stylePreprocess.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/Common/stylePreprocess.ts -------------------------------------------------------------------------------- /src/components/Functions/axisFormat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/Functions/axisFormat.ts -------------------------------------------------------------------------------- /src/components/Functions/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/Functions/index.ts -------------------------------------------------------------------------------- /src/components/Functions/labelFormat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/Functions/labelFormat.ts -------------------------------------------------------------------------------- /src/components/Functions/onClick.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/Functions/onClick.ts -------------------------------------------------------------------------------- /src/components/Functions/tooltip.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/Functions/tooltip.ts -------------------------------------------------------------------------------- /src/components/Functions/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/Functions/types.ts -------------------------------------------------------------------------------- /src/components/Renderers/CreatePieChart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/Renderers/CreatePieChart.tsx -------------------------------------------------------------------------------- /src/components/Renderers/CreateWrapper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/Renderers/CreateWrapper.tsx -------------------------------------------------------------------------------- /src/components/Renderers/createChart.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/Renderers/createChart.tsx -------------------------------------------------------------------------------- /src/components/Renderers/createGroup.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/Renderers/createGroup.tsx -------------------------------------------------------------------------------- /src/components/Renderers/createStack.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/Renderers/createStack.tsx -------------------------------------------------------------------------------- /src/components/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/index.tsx -------------------------------------------------------------------------------- /src/components/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/components/types.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/src/index.ts -------------------------------------------------------------------------------- /tsconfig.cjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/tsconfig.cjs.json -------------------------------------------------------------------------------- /tsconfig.eslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/tsconfig.eslint.json -------------------------------------------------------------------------------- /tsconfig.esm.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/tsconfig.esm.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/brumik/react-json-chart-builder/HEAD/tsconfig.json --------------------------------------------------------------------------------