Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

Announcements
BI & Data Trends 2021. Discover the top 10 trends emerging in today. Join us on Dec. 8th REGISTER
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Specialist
Specialist

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
Highlighted
Not applicable

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

Highlighted
Luminary
Luminary

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

Highlighted
Specialist
Specialist

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!

Highlighted
Luminary
Luminary

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

Highlighted
Specialist
Specialist

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");

});