We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I take the Column chart with time axis example and change the theme or bgColor, it does not work:
<script> import FusionCharts from "fusioncharts"; import Timeseries from "fusioncharts/fusioncharts.timeseries"; import SvelteFC, { fcRoot } from "svelte-fusioncharts"; fcRoot(FusionCharts, Timeseries); let promise, jsonify = (res) => res.json(), dataFetch = fetch( "https://s3.eu-central-1.amazonaws.com/fusion.store/ft/data/column-chart-with-time-axis-data.json" ).then(jsonify), schemaFetch = fetch( "https://s3.eu-central-1.amazonaws.com/fusion.store/ft/schema/column-chart-with-time-axis-schema.json" ).then(jsonify); promise = Promise.all([dataFetch, schemaFetch]); const getChartConfig = ([data, schema]) => { const fusionDataStore = new FusionCharts.DataStore(), fusionTable = fusionDataStore.createDataTable(data, schema); return { type: "timeseries", width: "100%", height: 450, renderAt: "chart-container", dataSource: { data: fusionTable, chart: { showLegend: 0, theme: "zune", // <=== doesn't work bgColor: "#ff0000", // <=== doesn't work bgAlpha: "70", // <=== doesn't work }, caption: { text: "Daily Visitors Count of a Website", }, yAxis: [ { plot: { value: "Daily Visitors", type: "column", }, title: "Daily Visitors (in thousand)", }, ], }, }; }; </script> <div id="chart-container"> {#await promise} <p>Fetching data and schema...</p> {:then value} <SvelteFC {...getChartConfig(value)} /> {:catch error} <p>Something went wrong: {error.message}</p> {/await} </div>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If I take the Column chart with time axis example and change the theme or bgColor, it does not work:
The text was updated successfully, but these errors were encountered: