{"id":24846,"date":"2017-10-15T11:56:38","date_gmt":"2017-10-15T06:26:38","guid":{"rendered":"https:\/\/www.wikitechy.com\/technology\/?p=24846"},"modified":"2017-10-15T12:06:26","modified_gmt":"2017-10-15T06:36:26","slug":"c-program-draw-bar-chart","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/technology\/c-program-draw-bar-chart\/","title":{"rendered":"C program draw bar chart"},"content":{"rendered":"<h2 id=\"c-programming-code\">C programming code<\/h2>\n[pastacode lang=\u201dc\u201d manual=\u201d%23include%20%3Cgraphics.h%3E%0A%23include%20%3Cconio.h%3E%0A%20%0Amain()%0A%7B%0A%20%20%20int%20gd%20%3D%20DETECT%2C%20gm%3B%0A%20%0A%20%20%20initgraph(%26gd%2C%20%26gm%2C%20%22C%3A%5C%5CTC%5C%5CBGI%22)%3B%0A%20%0A%20%20%20setcolor(YELLOW)%3B%0A%20%20%20rectangle(0%2C30%2C639%2C450)%3B%0A%20%20%20settextstyle(SANS_SERIF_FONT%2CHORIZ_DIR%2C2)%3B%0A%20%20%20setcolor(WHITE)%3B%0A%20%20%20outtextxy(275%2C0%2C%22Bar%20Chart%22)%3B%0A%20%0A%20%20%20setlinestyle(SOLID_LINE%2C0%2C2)%3B%0A%20%0A%20%20%20line(100%2C420%2C100%2C60)%3B%0A%20%20%20line(100%2C420%2C600%2C420)%3B%0A%20%20%20line(90%2C70%2C100%2C60)%3B%0A%20%20%20line(110%2C70%2C100%2C60)%3B%0A%20%20%20line(590%2C410%2C600%2C420)%3B%0A%20%20%20line(590%2C430%2C600%2C420)%3B%0A%20%0A%20%20%20outtextxy(95%2C35%2C%22Y%22)%3B%0A%20%20%20outtextxy(610%2C405%2C%22X%22)%3B%0A%20%20%20outtextxy(85%2C415%2C%22O%22)%3B%0A%20%0A%20%20%20setfillstyle(LINE_FILL%2CBLUE)%3B%0A%20%20%20bar(150%2C100%2C200%2C419)%3B%0A%20%0A%20%20%20setfillstyle(XHATCH_FILL%2CRED)%3B%0A%20%20%20bar(225%2C150%2C275%2C419)%3B%0A%20%0A%20%20%20setfillstyle(WIDE_DOT_FILL%2CGREEN)%3B%0A%20%20%20bar(300%2C200%2C350%2C419)%3B%0A%20%0A%20%20%20setfillstyle(INTERLEAVE_FILL%2CMAGENTA)%3B%0A%20%20%20bar(375%2C125%2C425%2C419)%3B%0A%20%0A%20%20%20setfillstyle(HATCH_FILL%2CBROWN)%3B%0A%20%20%20bar(450%2C175%2C500%2C419)%3B%0A%20%0A%20%20%20getch()%3B%0A%20%20%20return%200%3B%0A%7D\u201d message=\u201d\u201d highlight=\u201d\u201d provider=\u201dmanual\u201d\/]\n[ad type=\u201dbanner\u201d]\n","protected":false},"excerpt":{"rendered":"<p>C program draw bar chart &#8211; c programming &#8211; This program draws bar chart using c graphics. Chart is drawn using bars filled with different styles <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[82927,1],"tags":[83190,83188,83195,70824,83196,76428,83194,83189,83186,83193,83198,83197,83192,83191,83187],"class_list":["post-24846","post","type-post","status-publish","format-standard","hentry","category-c-programming-2","category-coding","tag-3d-bar-chart-program","tag-bar-function-in-c","tag-c-program-examples-with-answers","tag-c-programming-examples-with-output","tag-c-programming-full-notes","tag-c-programs-for-interview","tag-c-programs-with-output-pdf","tag-how-to-plot-graph-in-c-programming","tag-pie-chart-in-c-graphics","tag-plot-function-in-c","tag-structure-program-in-c","tag-turbo-c-program","tag-wap-in-c-for-pie-chart","tag-wap-in-c-to-make-2d-and-3d-bar-chart","tag-write-a-program-to-draw-graphic-of-a-bar-chart-in-java"],"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/24846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/comments?post=24846"}],"version-history":[{"count":0,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/24846\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/media?parent=24846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/categories?post=24846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/tags?post=24846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}