{"id":24850,"date":"2017-10-15T12:59:59","date_gmt":"2017-10-15T07:29:59","guid":{"rendered":"https:\/\/www.wikitechy.com\/technology\/?p=24850"},"modified":"2017-10-15T12:59:59","modified_gmt":"2017-10-15T07:29:59","slug":"c-program-draw-3d-bar-chart","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/technology\/c-program-draw-3d-bar-chart\/","title":{"rendered":"C program to draw a 3d bar chart"},"content":{"rendered":"<p>This c program draws a 3d bar chart.<\/p>\n<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%0Aint%20main()%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 to draw a 3d bar chart &#8211; c programming &#8211; This c program draws a 3d bar chart and the source code is provided for the use<\/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,83336,83188,83340,83338,83341,83339,83337,83201,83189,83186,83072,83187],"class_list":["post-24850","post","type-post","status-publish","format-standard","hentry","category-c-programming-2","category-coding","tag-3d-bar-chart-program","tag-bar-chart-program-in-computer-graphics","tag-bar-function-in-c","tag-bar-graph-in-c-using-graphics","tag-bar3d-function-in-c-graphics","tag-bar3d-in-c-graphics","tag-c-program-for-creating-3d-scenes","tag-c-program-to-draw-3d-cube","tag-c-program-to-draw-a-bar-chart","tag-how-to-plot-graph-in-c-programming","tag-pie-chart-in-c-graphics","tag-setfillstyle-function-in-c","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\/24850","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=24850"}],"version-history":[{"count":0,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/posts\/24850\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/media?parent=24850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/categories?post=24850"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/technology\/wp-json\/wp\/v2\/tags?post=24850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}