🍉 Meet Flexmonster Pivot Table & Charts 2.9.Check out all the hot features!
Get Free Trial

hide grid show chart

Answered
Albert Ryan Banez asked on January 29, 2021

Hi, 
Currently both my flexgrid and fushionchart are showing.
What I wanted is to hide my grid and only show the fusionchart. If I change the width and height of my grid to 0. Both of them (grid and chart) are not showing up anymore. 
How can I hide only the grid?
 
pivotgrid[cardId] = new Flexmonster({
container: “#pivot-container” + cardId,
licenseKey: “???”,
componentFolder: “assets/plugins/flexmonster/”,
width: “0%”,
height: “0%”,
toolbar: true,
report: flex
});

var chartflex = new FusionCharts({
“type”: selected_chart,
“renderAt”: “fusionchartContainer” + cardId,
“width”: “100%”,
“height”: “100%”
});
pivotgrid[cardId].fusioncharts.getData({
type: chartflex.chartType()
}, function (chartConfig) {
chartflex.setJSONData(chartConfig);
chartflex.render();
}, function (chartConfig) {
chartflex.setJSONData(chartConfig);
});

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster February 1, 2021

Hello, Albert,

Thank you for reaching out to us.
 
We would like to explain that Flexmonster must be visible on the page to function properly.
It cannot be used as hidden data provided for third-party applications.
 
Kind regards,
Illia

Please login or Register to Submit Answer