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

abrir como grafico como padrão

Closed
douglasbergamo asked on October 1, 2020

Como posso abrir por padrao no modo grafico.

1 answer

Public
Vera Didenko Vera Didenko Flexmonster October 2, 2020

Hello, 
 
Thank you for your question.
 
A chart can be shown by default by specifying viewType in the options object, for example: 

var pivot = new Flexmonster({
...
report: {
...
options: {
viewType: "charts",
chart: {
type: "column",
showDataLabels: true
}
}
}
});

Here is a JSFiddle example for illustration: https://jsfiddle.net/flexmonster/yaxwb3ps/
Please let us know if this helps.
 
Also, we would like to kindly ask to post future questions in English. 
Thank you in advance!
 
Kind regards, 
Vera

This question is now closed