Powered by MSDN

US - English
NEW! Silverlight 5 is available Learn More

create pie chart or bar chart using silverlight2.0 RSS

10 replies

Last post May 18, 2008 07:26 AM by petermcgrattan

(0)
  • kundank

    kundank

    Member

    12 Points

    9 Posts

    create pie chart or bar chart using silverlight2.0

    Mar 12, 2008 10:33 AM | LINK

    hi

     create a  pie chart or bar chart  using silverlight2.0

    warm rgds

    kk

     

  • swildermuth

    swildermuth

    Star

    8438 Points

    1547 Posts

    Re: create pie chart or bar chart using silverlight2.0

    Mar 13, 2008 10:54 AM | LINK

    Yes, draw it with the Shape primitives.  No charting built in (though 3rd parties are likely to support it soon).

    Shawn Wildermuth
    MVP, Speaker and Author

    Web Workshop (HTML5/CSS/MVC4)
    San Fran, CA - Mar 28-30, 2012
    Dallas, TX: Apr 29-May 1, 2012
    https://agilitrain.com/Workshop/Info/Web_Workshop
  • Allen Chen – MSFT

    Allen Chen –...

    Star

    14215 Points

    1854 Posts

    Microsoft

    Re: create pie chart or bar chart using silverlight2.0

    Mar 14, 2008 06:03 AM | LINK

    Hi:

      You can refer to this post:

    http://silverlight.net/forums/t/9013.aspx

    Regards

    Sincerely,
    Allen Chen
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • kundank

    kundank

    Member

    12 Points

    9 Posts

    Re: Re: create pie chart or bar chart using silverlight2.0

    Mar 19, 2008 12:54 PM | LINK

    can u tell me how to create dynamic bar chart in silvelight2.0

  • Allen Chen – MSFT

    Allen Chen –...

    Star

    14215 Points

    1854 Posts

    Microsoft

    Re: Re: create pie chart or bar chart using silverlight2.0

    Mar 20, 2008 02:19 AM | LINK

    Hi:

    kundank

    can u tell me how to create dynamic bar chart in silvelight2.0

      I think it's easier than pie chart. A simple way is to add rectangles to a canvas.

    Regards

    Sincerely,
    Allen Chen
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • kundank

    kundank

    Member

    12 Points

    9 Posts

    Re: Re: create pie chart or bar chart using silverlight2.0

    Mar 24, 2008 07:24 AM | LINK

    can u give some example

  • Allen Chen – MSFT

    Allen Chen –...

    Star

    14215 Points

    1854 Posts

    Microsoft

    Re: Re: create pie chart or bar chart using silverlight2.0

    Mar 24, 2008 07:49 AM | LINK

    Hi:

      Not exactly the bar chart sample but you can refer to a handy post:

    http://silverlight.net/forums/t/12124.aspx

      Also please reply there to tell the OP whether you can reproduce his problem if you like.

    Regards

    Sincerely,
    Allen Chen
    Microsoft Online Community Support

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • SteveWong

    SteveWong

    Contributor

    6769 Points

    1351 Posts

    Re: Re: create pie chart or bar chart using silverlight2.0

    Mar 27, 2008 02:01 PM | LINK

    Hi,

    I suggest you add Rectangles to the Canvas and adding Storyboard so that animation can be added to the Bar Chart (i.e. dynamic).

    More examples can be read in http://joestegman.members.winisp.net/Jelly/Bar.htm

    I hope I can answer your question. =)

    Regards,

    Steve Wong (Hong Kong)

    dynamic bar chart

    Regards,
    SteveWong (HongKong)
    Please mark post as answer if they help you
  • edward_494

    edward_494

    Member

    149 Points

    86 Posts

    Re: Re: create pie chart or bar chart using silverlight2.0

    Mar 31, 2008 05:39 PM | LINK

    A bar graph is easy. Each bar is simply a rectangle that you just adjust with color and dimensions.

    A pie chart is just as easy sinice all slices compose one single pie. Each pie slice has a specifi angle size.

    That's really all you need to know. Now go open up Visual Studioand implement it.

    Give it a try before you go asking others to do trivial (tedious) stuff like this for you.

  • Somnath Panja

    Somnath Panja

    Member

    184 Points

    135 Posts

    Re: Re: create pie chart or bar chart using silverlight2.0

    Apr 18, 2008 04:41 AM | LINK

    you can check... Open source silverlight charting component. http://www.visifire.com

    they are standard and good looking... http://www.visifire.com/silverlight_charts_gallery.php

     

     

     

    Regards,
    Somnath Panja
    Profile: Profile Link..