It is necessary with the help of graphic primitives to make various charts (bar and circular) and draw a clock. I use WPF. Tell me which way to dig and where to pick? Thank you in advance.

  • one
    My crystal ball says you need UserControl 's. - VladD
  • Vague wording. If you want to draw, then Geometry to help. - Vlad

2 answers 2

Elementary Watson - it is necessary to dig in the direction of graphic primitives that are derived from the class Shape.

In this case, you will be interested in Line + Ellipse (hours), Rectangle and Path (for a pie chart).

    It is necessary to dig in the direction of examples, of which it is complete. The necessary graphic primitives from WPF - Ellipse, Line, Rectangle, Path, Polygon, for which you can use fills (Fill), strokes (Stroke), brushes (Brush).

    Analog Clock in WPF

    WPF Charting using MVVM Pattern