Stacked Bar Chart - X-Axis label

4 posts, 1 answers
  1. William Hanafin
    William Hanafin avatar
    14 posts
    Member since:
    May 2008

    Posted 16 Jul 2010 Link to this post

    Hi There,

    Does anyone know where I can set the X-Axis item label for a stacked bar chart?

    I'm currently working on a stacked bar chart and having difficulty setting a static X-Axis name.
    A regular chart (i.e simple bar chart) allows one to specify the XCategory name in the DataPoint which determines the X-Axis name on the chart, but this method does not appear to work for stacked bar charts.

    Any help would be appreciated,

     Bill
  2. William Hanafin
    William Hanafin avatar
    14 posts
    Member since:
    May 2008

    Posted 19 Jul 2010 Link to this post

    After several hours of attempts to get this working, I havent found a way to create custom x-axis labels for a stacked bar chart.
    To add more clarity on how I want to use this, we are developing a stacked bar chart which will display 4 stacks. Each of the 4 stacks is a placement or status of our stock. For example 1 [Stock Ordered], 2 [Stock Processed], 3 [Stock Shipped], 4 [Stock delivered].
    So the idea is the display our items within the 4 stacked bars according to their current status (ordered, shipped etc..).
    Right now there are numbers 1,2,3,4 for each X-axis but I need to change those to text labels displaying Stock Ordered, Stock Processed, Stock Shipped and Stock Delivered.

    Any ideas?



  3. Answer
    Nikolay
    Admin
    Nikolay avatar
    397 posts

    Posted 21 Jul 2010 Link to this post

    Hello William Hanafin,

    Please, find attached a sample application, which demonstrates how to set X-Axis labels for a StackedBar chart.

    Hope this helps.

    Kind regards,
    Nikolay
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  4. William Hanafin
    William Hanafin avatar
    14 posts
    Member since:
    May 2008

    Posted 21 Jul 2010 Link to this post

    Hi Nikolay,

    >> Please, find attached a sample application, which
    >> demonstrates how to set X-Axis labels for a StackedBar chart.

    Great example, thank you.

    Bill
Back to Top