Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Pie Charts
Started by dooq Dec 03 2019 12:51 PM

5 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

dooq

[GLOBAL: userInfoPane.html]
dooq
  • Enthusiast

  • 43 posts
  • Corona SDK

I want to draw a pie chart in my app. Anyone have a code sample that does this?

 

Searching the forums I found an old thread that references a ragdogLib.lua library that has support for pie charts, except the website it's linked from no longer exists :(. Does anyone have a copy of ragdogLib.lua with pie chart support in it?

 

thanks



[TOPIC: post.html]
#2

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,274 posts
  • Corona SDK

Although I have about 8 versions of the ragdogLib.lua on my machine none of them have the piechart function. But you are in luck: SSK2 incorporated the function with smallish modifications. It is under extra -> misc.lua -> createPieChart

 

https://roaminggamer.github.io/RGDocs/pages/SSK2/


  • roaminggamer likes this

[TOPIC: post.html]
#3

dooq

[GLOBAL: userInfoPane.html]
dooq
  • Enthusiast

  • 43 posts
  • Corona SDK

Awesome, thank you! I already use SSK in my app actually :)



[TOPIC: post.html]
#4

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,601 posts
  • Corona SDK

here is a additional doc link:

 

pie.gif


Edited by roaminggamer, 03 December 2019 - 05:09 PM.

  • agramonte and sporkfin like this

[TOPIC: post.html]
#5

agramonte

[GLOBAL: userInfoPane.html]
agramonte
  • Corona Geek

  • 1,274 posts
  • Corona SDK

@roaminggamer nice to see you on the forums.

 

And did you notice my word search app is all because of you:

https://apps.apple.com/us/app/buscando-palabras-word-hunt/id1299376972



[TOPIC: post.html]
#6

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,601 posts
  • Corona SDK

Congrats!  Looks good.

 

I'm in and out on occasion.




[topic_controls]
[/topic_controls]