Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • pie chart source code

    Does anyone know whether is it possible to see the pie chart source code as per, for example, viewsource histogram.ado ?

  • #2
    It's not as easy as for histogram.ado. The programs for producing pie charts are written using ado classes (see the class section in the Stata Programming Reference Manual PDF) so if you look in the Stata adopath BASE directory in the p subdirectory you will see several .class files that you can read with viewsource, e.g.
    Code:
    viewsource piegraph_g.class

    Comment


    • #3
      excellent, thank you!

      Comment

      Working...
      X