Label Is not centering in a column chart
I want to center the value on a column graph,i used LabelStyle for this but this is not working exactly.
<asp:Chart ID="bargraphconsldtd" runat="server" EnableViewState="true" Width="600px" style="padding:10px;">
<Series>
<asp:Series Name="Overall Potential" CustomProperties="LabelStyle= Center" IsVisibleInLegend="true" Color="#399BFF" ToolTip="Overall Potential:#VALY" ChartType="Column" ></asp:Series>
</Series>
<Series>
<asp:Series Name="Potential Value" CustomProperties="LabelStyle= Center" IsVisibleInLegend="true" Color="#26A65B" ToolTip="Potential Value:#VALY" ChartType=" Column" ></asp:Series>
</Series>
<Series>
<asp:Series Name="Business Expected" CustomProperties="LabelStyle= Center" IsVisibleInLegend="true" Color="#EF4836" ToolTip="Business Expected:#VALY" ChartType="Column" ></asp:Series>
</Series>
<Series>
<asp:Series Name="Sale Ytd" CustomProperties="LabelStyle= Center" IsVisibleInLegend="true" Color="#F39C12" ToolTip="Sale Ytd:#VALY" ChartType="Column" ></asp:Series>
</Series>
<ChartAreas>
<asp:ChartArea Name="ChartArea1">
<AxisX >
<MajorGrid LineWidth="0" />
</AxisX>
<AxisY>
<MajorGrid LineWidth="0" />
</AxisY>
</asp:ChartArea>
</ChartAreas>
<Legends>
<asp:Legend></asp:Legend>
</Legends>
<%-- <BorderSkin
SkinStyle="Emboss" />--%>
</asp:Chart>
Hi, Ravens Fan --
The font that you see in the attached file is called "Cambria," and yes, I have changed the fonts on the axis labels and scales. I figured that shouldn't matter since the option to do that is so nicely given in the Properties dialog box.
The overall Windows setting for text size on this computer is "normal."
I tried going back to the Application font, using it at the same size that I'm using for Cambria (18-point), but it gets cut off the same way.
Thanks!*
Mark
*But not for taking the Texans out of the playoffs last year...
Similar Messages
-
Vertical axis labels on column chart
I'm trying to get the x-axis labels oriented vertically on a 3D column chart, so that the labels don't overlap each other. With 2D column charts I can do this via "format>chart>format x-axis" but these options are grayed out with the 3D column chart. Is there any way to get vertical orientation on the axis labels with this chart type???
It's usually not necessary to make the axis labels vertical to keep them from overlapping in a 3D chart since when you rotate the chart the labels are vertically offset. But you're right, there's no other control for this.
Jerry -
Drill Down between 2 stacked column chart with multiple rows.
Hi,
Can anyone please help me.
1) i have to create stacked column chart with Region and cout of calls for previous 3 quarters.
2) the 2nd stacked column should display the priority with the count of calls for the respective selection of region on the 1st chart..
to achieve this,
i'm using 2 stacked column charts and 1 lebel baseb menu.
from this i can able to get the drill down from label based menu to 2nd stacked column chart but i couldn't able to done the same from 1st stacked coumn chart.
Becoz my data is multiple row for each quarter.
please suggest me to achieve the drill down between 2 stacked column charts.
assume that my data like below.:
coulmns for 1st stacked column chart : Region, Q2,Q3 &Q4
Region Q2 Q3 Q4
Other 3658 3497 497
NA - North
America 3 3 1101
APJK 1 4 597
UK 324
EMEA North 1 1 288
CORPORATE 1 5 215
LA -
Latin America1 2 208
EMEA 1 199
EMEA South 1 1 169
Coulmns for 2nd coumn chart: Region, Priority, Q2,Q3,Q4 ()which is derived from 1st table.
Region Priority Q2 Q3 Q4
Other D: End of Next Day 1568 1613 239
Other C: End of Day 983 893 119
Other A: 2 Hour 631 610 70
Other B: 4 Hour 396 318 56
NA -
North AmericaD: End of Next Day 2 2 514
APJK D: End of Next Day 3 297
NA -
North AmericaC: End of Day 284
NA -
North AmericaA: 2 Hour 1 170
UK D: End of Next Day 157
APJK C: End of Day 1 1 152
Other E: 3 - 5 Business Days 68 58 13
EMEA North D: End of Next Day 1 136
CORPORATE D: End of Next Day 4 107
NA - North America B: 4 Hour 1 104
LA - Latin America D: End of Next Day 1 1 86
EMEA D: End of Next Day 86
UK C: End of Day 85
APJK A: 2 Hour 79
EMEA South D: End of Next Day 72
EMEA North A: 2 Hour 69
EMEA North C: End of Day 56
APJK B: 4 Hour 55
EMEA C: End of Day 1 53
LA - Latin America C: End of Day 54
UK A: 2 Hour 49
EMEA South C: End of Day 1 44
CORPORATE A: 2 Hour 1 43
CORPORATE C: End of Day 44
LA - Latin America A: 2 Hour 1 42
EMEA South A: 2 Hour 1 32
EMEA B: 4 Hour 30
UK B: 4 Hour 30
EMEA A: 2 Hour 27
EMEA North B: 4 Hour 1 26
NA -
North AmericaE: 3 - 5 Business Days 25
LA - Latin America B: 4 Hour 23
EMEA South B: 4 Hour 20
CORPORATE B: 4 Hour 17
APJK E: 3 - 5 Business Days 13
Other F: 6 - 10 Business Days 6 4
Other G: 11 - 20 Business Days 6 1Hi Srinivas,
I'm using label based menu "filterd rows" only but i couldn't bind the drill down with the 1st stacked column chart.
for mor details:
1) i'm having 2 stacked coumn charts & 1 lebel based menu but eventhough i couldn't able to achieve.
if i select the lebel based values then the 2nd stacked column charts is giving detailed valus but if i keep my mouse on the 1st stacked column chart the there is no changes on the 2nd chart..
somewhere i'm mising the binding data between 1st stacked coumn chart & lebel based menu on drill down part.
Becoz i'm having multiple rows. so can you please try your and send me the xlf file using your concept. -
Help - How do I Add a Trendline to a Stacked Column Chart??
I have a stacked column chart (NOT a 100% stacked column chart) and need to add a line to show the year goal. I can do this in Excel, but for some reason can't figure out how to do this in SSRS. I read various tutorials, blogs and MSDN pages
but nothing works. The weird thing is that they all say that I should right-click on the chart and there should be a DATA tab...on the chart properties. THERE IS NO DATA TAB, i'm here to tell you. I'm using SQL 2012 so not sure if that might make
a difference.
So how do I do this?
Again, this can be done in Excel, don't understand why this isn't easier to do in SSRS.
BTW, completely separate rant here, but it takes me 20 minutes every single time I want to log into MSDN forums. It never seems to remember my password and I have to reset it, then jump through a bunch of security nonsense. Anyone else have this
problem?
Thanks!!Hello,
If I understand correctly, you want to add a line chart to display the Goal values in the stacked column chart. You can try to add the secondary field to the Values area and change the chart type to "Line". Both data field in the Values area
shares the Category group and series group. Please refer to the following screen shot:
If I have any misunderstanding, please post your report dataset with sample data for further analysis.
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support -
Stacked Column Chart Data Labels Not Appearing
I am using SetSytle in Actionscript to make the data labels in a stacked column chart appear inside but it's not working.
A portion of the code I am using to create the chart is below:
//initialize column set for stacked columns
var colSet:ColumnSet = new ColumnSet();
colSet.type="stacked";
for each(var node:XML in _chartDP){
var k:int = 0;
//skip zero datapoints
if (parseInt(node.toString()) != 0) {
//if measure node does not exist, add as series
k = uniqueYCat(node.attribute("BillTo"));
if (k == -1){
// Create the new column series and set its properties.
var localSeries:ColumnSeries = new ColumnSeries();
localSeries.setStyle("labelPosition","inside");
localSeries.dataProvider = dataArray;
localSeries.yField = node.attribute("BillTo");
localSeries.xField = "ConfidenceStatus";
localSeries.displayName = node.attribute("BillTo");
localSeries.setStyle("showDataEffect", ChangeEffect);
// Back up the current series on the chart.
var currentSeries:Array = chart.series;
// Add the new series to the current Array of series.
currentSeries.push(localSeries);
//Add Array of series to columnset
colSet.series.push(localSeries);
//assign columnset to chart
chart.series = [colSet];
After some more research, I put a breakpoint inside ColumnChart.as in the following function:
mx_internal function getSeriesLabelPos(series:Series):void
if(series is ColumnSeries)
var columnSeries:ColumnSeries = ColumnSeries(series);
var position:String = columnSeries.labelPos;
if(position == "inside" || position == "outside" || position == "none")
_needLabels = true;
else if(series is ColumnSet)
var setSeries:Array /* of Series */ = ColumnSet(series).series;
for (var i:int = 0; i < setSeries.length; i++)
getSeriesLabelPos(setSeries[i]);
the following line: var position:String = columnSeries.labelPos;
returns postion as null. It looks like the setStyle is not passing the correct value to this function.
Any ideas as to what is going on?chart appearance is controlled by xml files located in
{cfroot}\charting\styles. the file for bar charts is
default.xml
you will want to:
1) copy thisfile to your site's root or some other folder
(i.e. same
folder that the page displaying your chart is in)
2) edit the file and change isHideOverlapped attribute of
labelStyle
property for xAxis to "false"
3) point the STYLE attribute of your cfchart tag to this new
file.
hth
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/ -
How to display labels ( vertically) in a column Chart
Hi,
As per my requirement I want to show labels inside the column charts & they must be aligned verically
say ABC is id i want display i want A
B
C
I have tried with Column Charts properties like showvertically =" true" & extendLabelToEnd="true".But i am not getting them vertically aligned .Is that something else also must be done.
Regards
Kalavati singh
[email protected]Take a look at this blog: http://gerardnico.com/wiki/dat/obiee/presentation_variable
Try it out by providing a default format.
Thanks,
BIPuser -
Hi Folks,
I would like to display the Y-axis labels of a column chart in Kilo, Millions etc. I used the below mentioned formula in excel for that set of data. Here is the formula [>=1000000]0,,"M";[>=1000]0,"K";0
Though in embedded excel it displays the values as desired, when I assign them to the column chart in Xcelsius the Y axis labels are not as expected. For Kilo it works fine but when it comes to millions it is not displaying accordingly. Any help is appreciated.
Thanks,
SukumarHi Sukumar,
If You want to display the Y Axis Labels like Kilo(k),Million(M),Billions(B)...etc.Do the following things ,
goto column chart properties->behaviour->scale in that Enable the Fixed Label size checkbox.
Regards,
Ramana -
Values rotation for 3D Column chart not working
Hello,
I have a 3D Column chart type, using the Apex integration kit for anychart 5.1 and have the Values Rotation set to 90 Degrees.
However this setting or any other does not have any effect on the chart. The decimal_places setting also does not have any
effect.
This is the line in the custom XML
<values show="yes" prefix="" postfix="" decimal_separator="." thousand_separator="," rotation="90" decimal_places="0">
How do i get the values to be rotated?
Thanks in advance,
SieudialHello,
I created a complete example site. An example of a 3D Column you find here: http://anychart.apex-evangelists.com/pls/apex/f?p=755:9:0::NO:::
If you click at the bottom, you see the source I use.
In Anychart 5 the values got replaced by labels, e.g.:
<label_settings enabled="true" rotation="90">
<format>{%Value}{numDecimals:0}</format>
</label_settings>Hope that helps.
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/ -
Hello,
I am Plotting column chart based on the data present in datagridview;Column 1(having string Data Type) as my X axis value and Column Y as my Y axis value.On Column chart click event i am fetching x axis and y axis co-ordinates of my column chart and displaying
in Label on my form.But when i click it shows "0" as my x axis cordinate for the clicked column.
As my x axis is having labels as 06:00:00-07:00:00,07:00:00-08:00:00,..........
Below is image of my application
f Chart1.Series(0).Name = "Daily Data" Then
'Chart1.Series(0).XValueType = ChartValueType.Time
Chart1.Series(0).Points(result.PointIndex).XValue.ToString()
'xval = xval.AddHours(Chart1.Series(0).Points(result.PointIndex).XValue)
Label4.Text = "Selected Coordinates are: " & Chart1.Series(0).Points(result.PointIndex).XValue.ToString & ", " & Chart1.Series(0).Points(result.PointIndex).YValues(0).ToString("f2")
End If
Else
If result.ChartElementType <> ChartElementType.Nothing Then
Dim elementType As String = result.ChartElementType.ToString()
Label4.Text = "Selected Element is: " & elementType
End If
End IfYou need to get this example from Microsoft. It is a c# project code you just run it in Visual Studio. It shows most everything you can do with a chart. It shows the vb code when you run it and click the vb tab. Near the bottom of the left tree is Appearance
- Labels etc. Also under data types there are date and time examples. This link is also in the forum faqs at the top of the chart forum posts.
Chart examples.
I think you need to tell the chart to use datetime for the labels but I am not sure how and I am not too good with them but that is why I do this to learn things. I would just look in the chart examples from the link I show. That is how I answer most of
the questions here.
Can you reproduce your problem using the simple example from the other question? Otherwise I cant really do much.
Also, most times when you make a simple example you will find the problem or at least understand it better.
So take a look and come back if you cant get it I then I will try too. -
Flex Column Chart X-axis Label position
Hello,
I have a Column Chart and am wanting to align the X-axis labels on top of each Column. Is there a way to achieve this?
Can we change the label's default position? I know there is a "rotation" property which rotates the labels but i want to change the label postion.
Any help/pointers is highly appreciated.
Thanks.Been diging throught he charts source to figure out if there is a way of doing what I wanted, and appartntly there is (well - for the most part). For anyone else interested there is a property called alignLabelsToInterval for the LinearAxis class. This is not documented but it is a public variable - in the code ( http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/projects/charts/src/m x/charts/LinearAxis.as ):
* @private
public function get alignLabelsToInterval():Boolean
return _alignLabelsToInterval;
* @private
public function set alignLabelsToInterval(value:Boolean):void
if (value != _alignLabelsToInterval)
_alignLabelsToInterval = value;
invalidateCache();
dispatchEvent(new Event("mappingChange"));
dispatchEvent(new Event("axisChange"));
Setting this parameter to false allows the base label to stay on the origin of the chart. Then you need to compute a suitable interval for the axis to get the labels you want.
Phew!
Allan -
Hi
Im trying put a label on top of each column chart bar vertically(Outside),
Im able to do it if it is a single column .
with "showlabelvertically" option but,
when i tried with multiple columns(column set) im not able to do it. do any one have a better idea in doing it.
Thanks in advancehi rootsounds,
Thanks for responding, But i require is some thing like this app
http://blog.flexexamples.com/2008/01/23/displaying-the-labels-vertically-in-flex-columncha rt-control/
for column sets this doesnt work for some other examples that i worked too. -
Numbers 3D Column chart labels
3D Column chart labels do not work.
If a label is displayed horizontally, it over-writes the next label and there is no way to turn the label vertically.The chart will move allowing you to see the labels.
There is no way of moving the labels as you can in the 2D chart.
Best. -
I have a simple column chart grouping on 1 value on the category axis. For simplicity's sake, we are plotting $ amounts grouping by Month on the category axis. I right click on the data series and choose "Add calculated series...". I choose moving average. I want to move the average over at least 2 periods.
When I run the report, I get the error "Formula error - there are not enough data points for the period". The way the report is, I never have a guaranteed number of categories (there could be one or there could be 5). When there is 2 or more, the chart renders fine, however, when there is only 1 value, instead of suppressing the moving average line, I get that error and the chart shows nothing.
I don't think this is entirely acceptable for our end users. At a minimum, I would think the moving average line would be suppressed instead of hiding the entire chart. Does anyone know of any workarounds or do I have to enter another ms. connect bug/design consideration.
Thank you,
DanI was having the same error while trying to plot a moving average across 7 days. The work around I found was rather simple.
If you right click your report in the solution explorer and select "View Code" it will give you the underlying XML of the report. Find the entry for the value of your calculated series and enter a formula to dynamically create your periods.
<ChartFormulaParameter Name="Period">
<Value>=IIf(Count(Fields!Calls.Value) >= 7 ,7, (Count(Fields!Calls.Value)))</Value>
</ChartFormulaParameter>
What I'm doing here is getting the row count of records returned in the chart. If the returned rows are greater than or equal to 7 (The amount of days I want the average) it will set the points to 7. If not, it will set the number to the amount of returned rows. So far this has worked great. I'm probably going to add more code to handle no records returned although in my case that shouldn't happen but, you never know.
A side note:
If you open the calculated series properties in the designer, you will notice the number of periods is set to "0". If you change this it will overwrite your custom formula in the XML. -
BO 4.0 Web Intelligence, Error: Column Chart shows not the whole data
Hello,
I want to create a case study in BusinessObjetcs 4.0 (Web Intelligence) with a column chart.
Year is the Category Axis and Revenue is the Value Axis.
Unfortunately the resulting chart shows only the year 2008.
If I choose Month as Regional Color the chart shows all years (2008-2011).
What I do wrong? Or is this a bug?
Thank you!
Best regards,
WladimirHi again,
What I think is that there simply isn't data in the report other than the 2008,
or at least the combination of the section master/year only has 2008 data.
If that is not what you expect and there should be more data, also when looking specifically at the values for just this section,
then you could check if you may be have incomplete query results. Standard they will be limited to 5000 rows, unless your universe designer decides otherwise.
Check the number of rows returned (free cell with query details),
if it is 5000 (or any other nice round figure) have a chat with the universe designer.
Good luck,
Marianne -
Stacked Column Chart Value does not show in Preview or SWF
I have created a simple (one-column) stacked Column chart from an imported Excel 2007 spreadsheet. I am using 3 values and all three are there when I am editing the chart. When I do a Preview or Export it to a .swf file, the third value does not show up. It only shows the first two.
I am running Xcelsius 2008, Version 5.1.3.0, build 12,1,3,495.
Edited by: Rich Krejsa on Apr 9, 2009 9:35 PMHi Rich,
Try to rebind the data with the component and preview and see.
Also check with other charts to see if you get the same behaviour.
Try placing a table component and display those cell and see what values are there when you preview.
There could also be posiblities that the third values must be very small as compared to the other two,so check that as well and may be select the secodry scale in the general tab for the 3rd series.
Let me know if this helps.
Thanks,
Amit Mathur.
Maybe you are looking for
-
Hi all, I am getting an error while posting a document using t code f-02.It is allowing me to go through the 3 steps of posting a document but while saving it gives me the following error message: Error accessing function module:fmfk_fikrs_read param
-
Problems with shortcuts when selecting file to upload in BPS
Hi all, We have a problem when the user is navigating through the directories for selecting a file to upload. When the user navigates between folders it is ok but if there is a shortcut to another disc the program interprets that as a file and then g
-
I got ignored on "IE outlines navbar table, Safari and Firefox don't"
Zero replies since I posted this Feb. 16 so am trying once more. "Navbar table isn't supposed to be outlined, but in IE an outline shows on top and on the right margin. http://starbrokerage.com/svcs_retail.htm Safari and Firefox handle it correctly.
-
How to have some pages listed in iTunes (in addition of posts)?
I use WordPress 3.5.1 and Blubbry PowerPress. My blog/podcast is now listed in iTunes. But, in addition of posts, I would also like some pages (with audio files) to be listed. How to do so?
-
Gtech drives sleeping for no apparent reason
I have 3 Gtech FW800 drives chained together via my MacBook Pro FW800 bus. Gtech says it is fine to chain 5 together. I have UN-chcked the box in System Prefs > Energy Saver > "put hard drives to sleep when possible". And yet, my Gtech drives fall