AMX Pie Chart Slice Label
I'm trying to customize the slice labels in my pie chart. It looks like the textType attribute of the dvtm:sliceLabel tag might provide me what I need, but there is little information. Where does the component get the "text" to display? The percentage is based on the pieDataItem's value attribute in relation to the whole as expected. I have the label and sliceId attributes also set for the pieDataItem component in the dataStamp facet but these are not showing up in the slice label as the text. Is there another component I need to add to the dataStamp facet that will be consumed by the sliceLabel text?
do paste this in the alt text of the chart ,
Right click the picture , select format picture and go to alt text tab.
paste this in between the graph element and not at the end or beginning.
<SliceLabel visible="true">
<ViewFormat decimalDigit="1" decimalSeparator="." decimalDigitUsed="true" decimalSeparatorUsed="true"/>
</SliceLabel>
Similar Messages
-
I need to round the slice labels of my pie chart to 0 decimal places. I have looked and looked around on how to do this, and the only solution I have found does not work (using the ViewFormat element under the SliceLabel element). Here is the code for my chart. Typically, the labels end up with 2 decimal places, but some seem to randomly be rounded to 3 instead. What am I doing wrong? Any help would be greatly appreciated.
chart:
<Graph graphType="PIE">
<SliceLabel textType="LD_PERCENT"/>
<Title text="Total Compensation Package" visible="true" horizontalAlignment="CENTER">
<GraphFont font = "Arial" size="12"/>
</Title>
<LegendArea position="LAP_BOTTOM"/>
<SliceLabel visible="true">
<ViewFormat decimalDigit="0" decimalSeparator="." decimalDigitUsed="true" decimalSeparatorUsed="true"/>
</SliceLabel>
<LocalGridData rowCount="2" colCount="2">
<RowLabels>
<Label>Annual Wages</Label>
<Label>Benefits</Label>
</RowLabels>
<DataValues>
<RowData>
<Cell>
<xsl:value-of select=".//CK_BENSTMT_ANNUAL"/>
</Cell>
</RowData>
<RowData>
<Cell>
<xsl:value-of select=".//CK_BENSTMT_TOT5_ER"/>
</Cell>
</RowData>
</DataValues>
</LocalGridData>
</Graph>That is exactly what I am using though, and it still doesn't work. Do I have to place the slice label element somewhere specific within the code for it to work correctly? I will try moving it around, but any other advice would be greatly appreciated.
-
Pie Chart Slice Label Percentage + Label
Hi,
i'm newbie of Publisher 11. I've a problem. I've created a DataSet and a report containing a pie chart using wizard of Publisher as written at following link:
http://allaboutobiee.blogspot.it/2012/04/working-with-bi-publisher-11g-part3.html
My chart shows near each slice the percentage value, but it should show the percentage value + corresponding legend text. I've changed all chart properties on left side of window, but it doesn't work. I read that i must set the value LD_PERCENT_TEXT. But where????? How can i modify XML? I must export the report in OBIEE to have more functionalities? Can you explain me what to do step by step because it's the first time i use Publisher 11
Thanks
Giancarlodo paste this in the alt text of the chart ,
Right click the picture , select format picture and go to alt text tab.
paste this in between the graph element and not at the end or beginning.
<SliceLabel visible="true">
<ViewFormat decimalDigit="1" decimalSeparator="." decimalDigitUsed="true" decimalSeparatorUsed="true"/>
</SliceLabel> -
Crystal Reports 2008 Pie Chart Data Labels
Hi,
I've been trying to figure out why I cannot get the option to put pie chart data labels in the center of each slice. There's an option to place them there, but everytime I select it, the graph reverts to putting the data labels on the outside with leader lines. I was able to do it once, for one pie chart, but have not been able to get it to work for any others. I've even tried creating a pie with only two slices in case there's a slice size limit below which the data is placed outside. There doesn't seem to be any rhyme or reason why it worked once and now won't work again.
Thanks,
-Jim
Edited by: jwmckay on Apr 23, 2010 7:19 PMHi Jim,
The issue could be faced because of the 'Auto-arrange' layout option enabled from Chart Expert within the report.
This option allows Crystal Reports to reset the chart layout to its original size and position
To uncheck the 'Auto-arrange option':
- First Go to Chart Expert-
- Click on the Options Tab
- Uncheck Auto - Arrange
- Click OK
I hope this helps,
Selenia -
How to display PIE chart Axis label horizontally?
Hi
Currently my PIE chart axis label is displying in 2 lines. How make it to display in one line?
Thank youhi,
For Pie chart there will be no X-axis or Y-axis terms generally.
Label/Text could be one of the following.
Title?
or Sub Title?
or Foot note?
Right Click -> Format Title . Reduce the font size such that it fits into a single line.
Regards,
Vamsee -
Bind RGB color values to pie chart slices?
Is there anyway IN CR XI R2 to data bind Red, Green, and Blue colors to the Color property of a pie chart slice?
Something like this, JS Bin - Collaborative JavaScript Debugging</title> <link rel="icon" href="http://static.jsbin.…
-
Hi, is it possible to change the label icons of a Pie Chart legend? I have a pie chart with genre distribution % and would like to set the male and female genre icons instead of the color.
Thank youHello Pedro,
in general you can' t change the label icons in SSRS - I assume you mean with "label icons" the small colored rectangles indicating each of the sections in a pie chart. But I have a workaround for you: Simply not to use the build-in labeling mechanism
of the chart, but to create an individual textbox with the needed symbols for your purposes. In that textbox you have to set an expression for showing the needed male or female symbols as Unicode-chars. There's a text function for that, I mean something like
"=ChrW(&XXX)" is the appropriate expression. XXX has to be the character string of the Unicode-chartset, if you want e.g. the male symbol as an icon. Unfortunately, I can't post links, but it's quite easy to find via Bing or Google the needed
chars or signs in the Unicode-Table (use e.g. "Unicode table" as search string and you find a great site for retrievaling chars and symbols in the Unicode-Table).
Generally spoken, I wouldn't use pie charts at all, normally bar charts are the better choice in visualizing data - with bar charts it's easier to recognize skales than in a pie chart and you can often label bars in a direct way, so you don't need an extra
legend.
I hope I could help you, but feel free to ask me, if yo have further questions
Robert -
Hi Experts,
I am having a requirement in OBIEE 11g of showing data as Percentage in a Pie Chart,the chart will be be having two slices(SLICE 1, SLICE 2).
And the SLICE 1 breakdown needs to be displayed as STACKED BAR CHART.the bar chart should also show data as percentage.
I am using a common measure for both the charts, in PIE CHART i have shown the measure count as Percentage,But in Staked bar chart i am not able to show the data in percentage.
A SLICECODE column i am using for the SLICE 1 and SLICE 2 breakup in the PIE CHART, and in the BAR CHART i am showing only SLICE 1 data by placing the SLICECODE column in the Section, and set the "Maximum number of section slider values" as 1 in the section properties
.Plz suggest me how to show the data as percentage in the bar chart
Refer the link below for the image.
http://img577.imageshack.us/img577/2631/waiver.jpg
thanx in advance.The image given uploaded in the link in my below post is the required report output.
-
Saving individual 3D pie chart slices
I want to create an animated pie chart...with individual slices appearing one at a time. I will do the actual annimation outside of Illustrator (likely in Flash or Motion). The question is...after making a pie chart, can I save each slice as an individual graphic within Illustrator CS4? Thanks in advance.
Yes you can create an art board for each slice you can pull them apart with the direct select tool.
You can the export them as individual files in a variety of ways.
However this is the kind of thing you can do straight from Illustrator by releasing the art to a layers to a sequence and exporting as a swf and bring that into flash. You can also choose the option to save the Illustrator layers as flash symbols and simply import that file to the Flash Library. -
Hi otn ,
using JDev 11g 11.1
i have status table
SELECT DocStatus.ID,
DocStatus.DESCRIPTION
from DocStatus
and 6 status inside (inprogress , not finish yet , finished , last date ,finished after due date , x)
and i have a view object to represnt a table to dispaly docs report
also a view object to dispaly pie chart
SELECT
COUNT(DOC_TRANSACTION.TRANSACTION_STATUS) TRANSACTION_STATUS,
DOC_STATUS.DESCRIPTION DESCRIPTION
FROM
DOC_TRANSACTION,
DOC_STATUS
WHERE
DOC_TRANSACTION.TRANSACTION_STATUS = DOC_STATUS.ID
the requirment is to display pie chart with this color for status (not regular) ( inprogress --> yellow , not finished yet --> red,finished-->green,last date-->white,finished after due date-->blue,x-->brown)
any one can help ?
Edited by: nour3eny on 21/11/2009 02:00 مthe following article shows the integration of jfreechart with oracle adf/jsf in a very simple and elaborate manner. I found this one very useful.
http://oracle-latest-technology.blogspot.com/2010/02/creating-chart-in-oracle-adf-using.html -
Setting Pie Chart Data Label Values Location Reverts to Default
After hitting OK the values return to the Side of Frame:
hi Richard,
that's pretty annoying...i too am dealing with the charting engine changing things. here's how to get around this...at least it worked in my cr 2013 version...
get out of Chart Options, right click on the Chart Expert and then go to the Options tab. now deselect any of the Data Points options and deselect Auto-Arrange.
now go back to Chart Options and redo the Data Labels selections you did in your screen shot.
-jamie -
Hi,
I want both the series label and % value to display on my pie chart, but what i want is % value to be displayed inside pie slices and series label outside the pie slices, right now we have option to do either of the one
my Report Builder is 9.0.4.0.33
can anybody help me regarding this.
Thanks.hello tammy,
i just created this request in the idea place
enhance pie chart data labels : View Idea
i was just thinking (yes, you should be afraid - smile)
it would make life much easier if there was a link in the forum message toolbar that linked to the submit idea form in the idea place and included the link for the message thread from here at the bottom of the request. that way the developers could also see what other people think about the issue. what do you think? -
I have a pie chart and the region is limited in width.
Some of the labels are a little long (even if they are abreviations) so that when they are at the center left or right of the pie chart, the labels are not enterily displayed.
I was wondering if there was a way to display the label and value on seperate lines...
I tried to add a chr(13) at the end of my labels in my sql query, but when the graph is displayed it shows something like this:
"my lable"
, "my value"
I haven't find a way to remove the comma, it seems to be hard coded in an apex query...
in the xml definition I can add a newline by doing this
<text><![CDATA[{NAME}
{VALUE}]]></text>
but it only works for the hints label...
btw, I'm using Apex 3.0.1.00.08
anyone can help me?
Thanks
MaxHi Max
Sorry for not getting back quicker - not sure if it's just me, but all the oracle servers seem to be dying right now!
Anyway, the answer isn't pretty, but it will work:
1 - In your select statement, change the LABEL value to be:
labelfield || CHR(10) || TO_CHAR(valuefield) LABEL
2 - In the custom XML section: Remove {VALUE} from the hints section
3 - Also in custom XML, set show = "NO" in the values section
Andy -
How to Avoid overlapping data label values in Pie Chart
Hi,
I am facing the problem when the data is more my pie chart data label value is overlapping.
I tried with showing outside the data label value but customer is not accepting ,and i used the CollectedPie option also but still its overlapping .So please any body knows how to resolve this problem as i need very urgent basis.
Regards,
HariKan
HariKanHi HariKan,
Per my understanding that the Category group of the pie chart which will retuen many values so that the label will overlapping and you want to know is any method to deal with this kind of problem, right?
In Reporting Services, when enabling data label in par charts, the position for data label only have two options: inside and outside.
In your scenario, I recommend you to increase the size of the pie chart if you insist to choose the lable inside the pie chart as below:
If you choose to "Enable 3D" in the chart area properties and choose to display the label outside, the label's layout will be more clear:
Reference:
Pie Charts (Report Builder and SSRS)
Position Labels in a Chart (Report Builder and SSRS)
If you have any question, please feel free to ask.
Best regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
Running CR XI R2
I have a pie chart that is displaying both Percentages and values in the legend. Is there any way to remove the $ from the value in the Legend as the Value is not currency but a count.
Thanks
JoeI tried that and it didn't work. I've actually played around with it more and got them to go away
I don't have data elements (labels) on the pie chart slices, and I'm sorry i forgot to mention that. I put the labels on, changed their formatting and took them off again and it affected the legend in the way I was hoping for.
Thanks for the response
Maybe you are looking for
-
Can i recover lost notes from an old time machine back up?
I found this doom and gloom advice, but isn't there a way to go to an old back up on my time machine and find the file? modular747 Central Florida Re: lost notes Oct 1, 2009 8:59 PM (in response to Sybil Clanton) Where did you synch them to?
-
Trouble connecting to Music Store
When I open up the music store, I get this message: http://img165.imageshack.us/img165/7107/musicstore6dt.jpg The Apple.com guides said to allow two websites to any parental control software installed on the computer, and we did that. However, I stil
-
When I open firefox where do I type what I am looking for; similar to how Google has it in the middle of the screen. Where do I type in the words. So frustrating that something so simple is not easily found and your 'tour" did not show this. At this
-
[AS2 CS3/4] Embed external FLV into an MC using AS2 with timeline control
Hi, Is there anyway to skip the process of manually embedding FLVs into SWF files? I want to load FLVs just as I would an external SWF. I've searched all over and all i can find is how to load FLVs into a FLVPlayer component with stop, play and contr
-
Any Success installing the touch upgrad
I've re-installed the firmware multiple times and I can't even count how many re-installations I've done of MediaSource. I can't get the Creative Zen and Jukebox Driver Upgrade version .30.03, Creative Zen Touch Firmware Upgrade version .0.03, Creati