Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7528797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T04:28:51+00:00 2026-05-30T04:28:51+00:00

I am using WPF DataVisualization chart control to show some sample data. My problem

  • 0

I am using WPF DataVisualization chart control to show some sample data. My problem is Y axis is showing decimal values. How can I make it show only integer values.

This is my XAML code for the

<chartingToolkit:Chart Margin="0,30,0,30" Name="columnChart" Title="" Foreground="Black"  >
    <chartingToolkit:ColumnSeries DependentValuePath="Value" Background="Red"  
    IndependentValuePath="Key" ItemsSource="{Binding}"  >
        <chartingToolkit:ColumnSeries.DataPointStyle>
            <Style TargetType="Control">
                <Setter Property="Background" Value="#A80729"/>
            </Style>
        </chartingToolkit:ColumnSeries.DataPointStyle>
    </chartingToolkit:ColumnSeries>
</chartingToolkit:Chart>

snapshot of the chat here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T04:28:53+00:00Added an answer on May 30, 2026 at 4:28 am

    set interval and Minimum,

    some thing like,

        <chartingToolkit:ColumnSeries.DependentRangeAxis>
                    <chartingToolkit:LinearAxis FontSize="15" Foreground="White" Interval="1" Minimum="0" Orientation="Y" ShowGridLines="False" />
                </chartingToolkit:ColumnSeries.DependentRangeAxis>
                <chartingToolkit:ColumnSeries.IndependentAxis>
                    <chartingToolkit:CategoryAxis FontSize="12" Foreground="Gray" Orientation="X" ShowGridLines="False" />
                </chartingToolkit:ColumnSeries.IndependentAxis>
    

    hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using DataVisualization from WPF Toolkit. I'm using LineSeries to show the data in
I'm building an application in C# using WPF. How can I bind to some
I am using WPF WebBrowser control. How can I detect all outgoing Http GET
Using WPF and .NET 4.0. I'm downloading some data using WebClient and using DownloadStringCompletedEventHandler
I've created a chart using the WPF toolkit (3.5) charting toolkit and I can't
Using WPF, I have a TreeView control that I want to set its ItemTemplate
Using WPF .NET 4.0 in VS2010 RTM: I can't create a fullscreen WPF popup.
I have a situation where I am using wpf data binding and validation using
How do you update a WPF chart when the collection changes? I am using
I'm using WPF and an Hyperlink control with <TextBlock Margin=98,190,116,133.418 FontSize=14> <Hyperlink Name=hyperlink RequestNavigate=Hyperlink_RequestNavigate>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.