Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to use script or Qlik sense API to create a pie chart at Qlik sense desktop?

How to use script or Qlik sense API to create a pie chart at Qlik sense desktop?

Any suggestion is appreciated!

5 Replies
Not applicable
Author

Hi,

If you are familiar with C# and .Net there is a SDK that gives you API to create apps, sheets, charts etc.
See http://help.qlik.com/en-US/sense-developer/3.0/Subsystems/NetSDKAPI/Content/Introduction/Net-Sdk-Int...

Best regards

Lars-Göran Book

IAMDV
Luminary Alumni
Luminary Alumni

Hi Haikuo - Pie chart is native Sense object. You just need to add your object from visualizations panel and drag pie chart on the canvas. Then select the dimension and the measure. That's it!

Cheers,

DV

www.QlikShare.com

Anonymous
Not applicable
Author

Hi Deepak, thanks so much for your help!

I created a pie chart at Qlik sense desktop, but the font size is too small.

I try to increase pie chart font size with CSS in Qlik mashup.

This is why I am looking for a walk-around to create  use script or Qlik sense API, so it may I could change pie chart font there.

Any further suggestion is appreciated!

IAMDV
Luminary Alumni
Luminary Alumni

I see, I'm afraid if we have direct access to CSS/JSON configuration. See this thread.

Anonymous
Not applicable
Author

Is it possible as the following:

app.visualization.create('piechart',["=Avg([Case Owner Group])","=Avg([Case Duration Time])"],

{"title":"On the fly piechart"}

).then(function(vis){

vis.show("QV03");

});