Fix linecharts (#770)

* [example][m] - start of a simple-example

* Empty-Commit

* [simple-example][sm] - change from repos.json to datasets.json

* [example][m] - changed styling and added octokit

* [build][sm] - fix build

* [example][sm] - fix line chart

* [fix][sm] - remove console.log
This commit is contained in:
Luccas Mateus 2023-04-18 14:20:21 -03:00 committed by GitHub
parent 20ac80a5e8
commit cb51660cbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
import { Vega as VegaOg } from "react-vega";
export default function Vega(props) {
return <VegaOg {...props} />;
return <VegaOg className="w-full" {...props} />;
}

View File

@ -1,4 +1,4 @@
import { VegaLite as VegaOg } from "react-vega";
export default function Vega(props) {
return <VegaOg {...props} />;
return <VegaOg className="w-full" {...props} />;
}

View File

@ -14,7 +14,7 @@ export function convertSimpleToVegaLite(view, resource) {
tooltip: true,
},
title: view.title,
width: "container",
width: 500,
height: 300,
selection: {
grid: {