This is a migrated thread and some comments may be shown as answers.

Stacked Bar Chart - X-Axis label

3 Answers 138 Views
Chart
This is a migrated thread and some comments may be shown as answers.
William Hanafin
Top achievements
Rank 1
William Hanafin asked on 16 Jul 2010, 06:36 PM
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

3 Answers, 1 is accepted

Sort by
0
William Hanafin
Top achievements
Rank 1
answered on 19 Jul 2010, 05:18 PM
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?



0
Accepted
Nikolay
Telerik team
answered on 21 Jul 2010, 12:44 PM
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
0
William Hanafin
Top achievements
Rank 1
answered on 21 Jul 2010, 01:01 PM
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
Tags
Chart
Asked by
William Hanafin
Top achievements
Rank 1
Answers by
William Hanafin
Top achievements
Rank 1
Nikolay
Telerik team
Share this question
or