Charts - custom voices on Legend
Hi all,
when I create a chart with APEX it request to me a query which returns voices "*link, label, value1, value2, ...*".
The problem with that is the fact that voice in chart's legend, when showed, lists "*ICON value1, ICON value2, ...*".
What I need is to replace "*value1, value2, ...*" in legend with more descrictive voices...
Currently I used to customize XML and put FIXED legend voices and icon totally customized, like:
<legend enabled="true" position="bottom" align="spread" ignore_auto_item="true" align_by="chart" elements_align="center">
<title><text>DAYS</text></title>
<columns_separator enabled="false"/>
<font family="Arial" size="10" color="0x000000" />
<items>
<item>
<icon type="SeriesIcon" color="0x33CCCC"><marker enabled="true" /></icon>
<text>{%Icon} &DATE_DAY1.</text>
</item>
<item>
<icon type="SeriesIcon" color="0xFF9900"><marker enabled="true" /></icon>
<text>{%Icon} &DATE_DAY2.</text>
</item>
<item>
<icon type="SeriesIcon" color="0xCC0000"><marker enabled="true" /></icon>
<text>{%Icon} &DATE_DAY3.</text>
</item>
<item>
<icon type="SeriesIcon" color="0x009900"><marker enabled="true" /></icon>
<text>{%Icon} &DATE_DAY4.</text>
</item>
<item>
<icon type="SeriesIcon" color="0x0033FF"><marker enabled="true" /></icon>
<text>{%Icon} &DATE_DAY5.</text>
</item>
</items>
</legend>Where &DATE_DAY<X>. are ORACLE APEX APPLICATION ITEMS filled with a PL/SQL procedure.
But this has the effect that passing mouse pointer on legend voices, doesn't highlight relative elements inside the chart itself.
And I wish it a lot, if possible.
The other solution could be to overwrite APEX automatic XML generation procedure by writing my own PL\SQL procedure to do it. As I did to implement threshold in some Bars Charts (still not in this one... this is a Lines Chart).
But I fear it would generate much more text than I can manage, because my chart involve 5 series (5 lines, 1 x 5 days, so 5 legend voices) for 48 points each (1 value every 30 mins).
And it's lot of XML text.
Thank you! :)
You was right. You could work by simply substituting "+value1, value2, value3, ...+" alias with custom alias of your wish. :)
The pity, as said, is that it couldn't apply to my sistuation, 'cause my legend voices have to be variable dates. And I can't used variables as queries alias, it seems.
The sole problem with the procedure I'm using now, is that I have to launch such query on around 18,000,000 records, and it takes up to 30 seconds.
Seeing I launch the "getdata();" JavaScript function at the load of the page, it means it needs 30 seconds before the page is ready.
I use this PL/SQL to populate it:
declare
type l_dates is table of date index by binary_integer;
l_date_days l_dates;
l_data clob;
l_chart_data_xml varchar2(32767);
l_data_serie1 clob;
l_data_serie2 clob;
l_data_serie3 clob;
l_data_serie4 clob;
l_data_serie5 clob;
begin
-- Fill 5 most recent dates in variables
for cd in (select rownum RN, DATA_DAY as DAY
from
(select to_date(DAY, 'MM/DD/YY') as DATA_DAY
from STORED_DAYS
order by DATA_DAY desc))
loop
if cd.RN = 1 then
l_date_days(5) := cd.DAY;
elsif cd.RN = 2 then
l_date_days(4) := cd.DAY;
elsif cd.RN = 3 then
l_date_days(3) := cd.DAY;
elsif cd.RN = 4 then
l_date_days(2) := cd.DAY;
elsif cd.RN = 5 then
l_date_days(1) := cd.DAY;
end if;
end loop;
-- Initialize Clobs
dbms_lob.createtemporary( l_data, FALSE, dbms_lob.session );
dbms_lob.open( l_data, dbms_lob.lob_readwrite );
dbms_lob.createtemporary( l_data_serie1, FALSE, dbms_lob.session );
dbms_lob.createtemporary( l_data_serie2, FALSE, dbms_lob.session );
dbms_lob.createtemporary( l_data_serie3, FALSE, dbms_lob.session );
dbms_lob.createtemporary( l_data_serie4, FALSE, dbms_lob.session );
dbms_lob.createtemporary( l_data_serie5, FALSE, dbms_lob.session );
dbms_lob.open( l_data_serie1, dbms_lob.lob_readwrite );
dbms_lob.open( l_data_serie2, dbms_lob.lob_readwrite );
dbms_lob.open( l_data_serie3, dbms_lob.lob_readwrite );
dbms_lob.open( l_data_serie4, dbms_lob.lob_readwrite );
dbms_lob.open( l_data_serie5, dbms_lob.lob_readwrite );
l_chart_data_xml := ' <data>'||chr(10);
dbms_lob.writeappend( l_data, length(l_chart_data_xml), l_chart_data_xml);
-- Open Series
l_chart_data_xml := ' <series name="'||to_char(l_date_days(1),'MM/DD/YY')||'" type="Line" color="0x33CCCC">'||chr(10);
dbms_lob.writeappend( l_data_serie1, length(l_chart_data_xml), l_chart_data_xml);
l_chart_data_xml := ' <series name="'||to_char(l_date_days(2),'MM/DD/YY')||'" type="Line" color="0xFF9900">'||chr(10);
dbms_lob.writeappend( l_data_serie2, length(l_chart_data_xml), l_chart_data_xml);
l_chart_data_xml := ' <series name="'||to_char(l_date_days(3),'MM/DD/YY')||'" type="Line" color="0xCC0000">'||chr(10);
dbms_lob.writeappend( l_data_serie3, length(l_chart_data_xml), l_chart_data_xml);
l_chart_data_xml := ' <series name="'||to_char(l_date_days(4),'MM/DD/YY')||'" type="Line" color="0x009900">'||chr(10);
dbms_lob.writeappend( l_data_serie4, length(l_chart_data_xml), l_chart_data_xml);
l_chart_data_xml := ' <series name="'||to_char(l_date_days(5),'MM/DD/YY')||'" type="Line" color="0x0033FF">'||chr(10);
dbms_lob.writeappend( l_data_serie5, length(l_chart_data_xml), l_chart_data_xml);
-- Loop through series data
for c1 in (select
substr(DATE_TIME, -8, 8) as label,
max(decode(to_date(substr(DATE_TIME, 0, 8),'MM/DD/YY'),l_date_days(1),KPI_VALUE,null)) value1,
max(decode(to_date(substr(DATE_TIME, 0, 8),'MM/DD/YY'),l_date_days(2),KPI_VALUE,null)) value2,
max(decode(to_date(substr(DATE_TIME, 0, 8),'MM/DD/YY'),l_date_days(3),KPI_VALUE,null)) value3,
max(decode(to_date(substr(DATE_TIME, 0, 8),'MM/DD/YY'),l_date_days(4),KPI_VALUE,null)) value4,
max(decode(to_date(substr(DATE_TIME, 0, 8),'MM/DD/YY'),l_date_days(5),KPI_VALUE,null)) value5
from INPUT_CSV
where HOST_NAME = :THE_HOST_NAME
and KPI_NAME = :THE_KPI_NAME
and DEVICE = :THE_DEVICE
group by substr(DATE_TIME, -8, 8)
order by LABEL)
loop
-- Fill Series
l_chart_data_xml := ' <point name="'||c1.label||'" y="'||c1.value1||'" ></point>'||chr(10);
dbms_lob.writeappend( l_data_serie1, length(l_chart_data_xml), l_chart_data_xml);
l_chart_data_xml := ' <point name="'||c1.label||'" y="'||c1.value2||'" ></point>'||chr(10);
dbms_lob.writeappend( l_data_serie2, length(l_chart_data_xml), l_chart_data_xml);
l_chart_data_xml := ' <point name="'||c1.label||'" y="'||c1.value3||'" ></point>'||chr(10);
dbms_lob.writeappend( l_data_serie3, length(l_chart_data_xml), l_chart_data_xml);
l_chart_data_xml := ' <point name="'||c1.label||'" y="'||c1.value4||'" ></point>'||chr(10);
dbms_lob.writeappend( l_data_serie4, length(l_chart_data_xml), l_chart_data_xml);
l_chart_data_xml := ' <point name="'||c1.label||'" y="'||c1.value5||'" ></point>'||chr(10);
dbms_lob.writeappend( l_data_serie5, length(l_chart_data_xml), l_chart_data_xml);
end loop;
-- Close Series
l_chart_data_xml := ' </series>'||chr(10);
dbms_lob.writeappend( l_data_serie1, length(l_chart_data_xml), l_chart_data_xml);
l_chart_data_xml := ' </series>'||chr(10);
dbms_lob.writeappend( l_data_serie2, length(l_chart_data_xml), l_chart_data_xml);
l_chart_data_xml := ' </series>'||chr(10);
dbms_lob.writeappend( l_data_serie3, length(l_chart_data_xml), l_chart_data_xml);
l_chart_data_xml := ' </series>'||chr(10);
dbms_lob.writeappend( l_data_serie4, length(l_chart_data_xml), l_chart_data_xml);
l_chart_data_xml := ' </series>'||chr(10);
dbms_lob.writeappend( l_data_serie5, length(l_chart_data_xml), l_chart_data_xml);
-- Close and commit XML data
dbms_lob.writeappend( l_data, length(l_data_serie1), l_data_serie1 );
dbms_lob.writeappend( l_data, length(l_data_serie2), l_data_serie2 );
dbms_lob.writeappend( l_data, length(l_data_serie3), l_data_serie3 );
dbms_lob.writeappend( l_data, length(l_data_serie4), l_data_serie4 );
dbms_lob.writeappend( l_data, length(l_data_serie5), l_data_serie5 );
l_chart_data_xml := ' </data>';
dbms_lob.writeappend( l_data, length(l_chart_data_xml), l_chart_data_xml );
l_chart_data_xml := wwv_flow.do_substitutions(wwv_flow_utilities.clob_to_varchar2(l_data));
-- Close Clobs
dbms_lob.close( l_data );
if l_data is not null then dbms_lob.freetemporary(l_data); end if;
dbms_lob.close( l_data_serie1 );
dbms_lob.close( l_data_serie2 );
dbms_lob.close( l_data_serie3 );
dbms_lob.close( l_data_serie4 );
dbms_lob.close( l_data_serie5 );
if l_data_serie1 is not null then dbms_lob.freetemporary(l_data_serie1); end if;
if l_data_serie2 is not null then dbms_lob.freetemporary(l_data_serie2); end if;
if l_data_serie3 is not null then dbms_lob.freetemporary(l_data_serie3); end if;
if l_data_serie4 is not null then dbms_lob.freetemporary(l_data_serie4); end if;
if l_data_serie5 is not null then dbms_lob.freetemporary(l_data_serie5); end if;
-- Set XML data
:DATA_DATA := l_chart_data_xml;
end;Where :THE_HOST_NAME , :THE_KPI_NAME and :THE_DEVICE are Applications Items populated elsewhere.
And DATE_TIME is (unluckily, and not by my choice) a varchar2 with textual date and time.
It's similar to your, but modified at my needings.
I'm not a PL/SQL expert, so maybe it could be wrote better.
Anyway currently it's ok for my customer to wait 30 seconds: he know about so much data amount.
And in the new "release" of the whole system we're buinding up, it seems records lowered to 12,000,000. It's already better. :)
Similar Messages
-
Is there any way to link the individual rows of data to the corresponding bars in a bar chart so that each legend title appears simultaneously with its corresponding bar when creating a build? I can do it in a pie chart but can't in a bar chart.
You used the data. Verizon can not see what it was sued for. However your phone can see whats apps used the data. go to settings-data usage- there will be a place that says data usage cycle. line the dates up with your cycle. then there will be a bar graph below that extend bother white bars one all the way to the left and one all the way to the right. after those are extended below that will be a list of apps, there should be one that used over 2 gb and that will show you what app used that data in her purse
-
Apex Charts custom XML integration
Hi All,
I found a chart in Anycharts.com and downloaded its XML.I wanted to integrate this chart with apex. But the XML,which i downloaded uses data from a .csv file. How to integrate this XML with apex. I found we can edit the default XML in the chart generated by. But How does XML take the values from the query which we write. There is only #DATA# at the end of the chart generated by apex and no clue on how and in what format this Data comes.
Please help me out.
Thanks,
AjayAjay -
Others may be able to explain this process better than I but I'll give it my best.
The #DATA# tag that you see in the default custom xml for a chart is a substitution string. When your page is rendered, APEX runs the queries associated with your chart and then creates XML based on the chart type of the series. Next, it takes this XML that it generated and puts it in the chart custom XML where that #DATA# tag is located.
There are other ways to get custom data into your chart. You can create the XML yourself in a page item and then insert the contents of that page item into the custom XML of the chart. This can be an advanced topic, but it really isn't too bad once you get the hang of it. The following link contains some pretty good examples of the things you can do. It even shows you how to format your SQL to obtain similar results. Custom XML generation is in the MISC tab. http://apex.oracle.com/pls/apex/f?p=36648:1:2979429292819853::NO I am not responsible for putting this page together, another forum member is, and perhaps they will chime in.
Hope this helps
Austin -
Hi i recently bought the new nokia n95 8gig.I am very happy with the phone and after abit of messing around i got the gps to work perfect.
But my question is: Is it possible to download custom voices for the n95.I no its possible on other sat navs.
thx for ya timeIt is difficult to tell with those buttons. You could have accidentally bumps again something while it was in your pocket or a drop of water may have dropped in around the button.
The fact that the dedicated camera button no longer works has me a little suspicious. When you have the camera function activated this dedicated is used to take a photo. Does it even do that anymore? If not then I think your next port of call should be a Nokia Care Centre. -
Can I set up more than one "Custom" Voice Messages?
I would like to have my main "Custom" voice mail message with my voice saying "hi, you've reached . . .," but I would also like to have at least one other option that I can have on the fly when I am away. This way when I return I can quickly switch back to the main custom voice mail. Anyone know if there's an App for that?
thanks,
Cindy DavisAh, I understand! Thank you for the quick response. I can't wait for Apple to open the iPhone to more carriers. NOT that the others would have an option to voice mail. I am so unhappy with all of the dropped calls and inability to connect to the Internet at times. I only live 11 miles north of Boston and I travel a lot. I never had any problems with Verizon. I love my iPhone, but becoming increasingly unhappy with the lack of service. But I am a Mac person, through-and-through.
Best, Cindy Davis -
How do I set default colors for XY chart series (lines and legend)
I am implementing a line chart and need to override the default (caspian style) colors for the line colors and the legend symbols. I'm not displaying the chart symbols themselves as that would make the chart look bad. I've been able to successfully set the default colors for the lines via the CSS below, but cannot find a way to do the same for the series symbols that appear in the chart legend. How do I do this? Thanks.
.default-color0.chart-series-line {
-fx-stroke: rgb(0, 102, 255);
.default-color1.chart-series-line {
-fx-stroke: rgb(0, 255, 102);
...Update:
Figured it out. Need to do the following:
.default-color0.chart-line-symbol {
-fx-background-color: rgb(R, G, B);
}Edited by: 998038 on May 16, 2013 4:09 PMHere is some css to customize the line and legend colors in a line chart.
/** file: chart.css
place in same directory as LineChartWithCustomColors.java */
.default-color0.chart-series-line {
-fx-stroke: rgb(0, 102, 255);
.default-color1.chart-series-line {
-fx-stroke: rgb(0, 255, 102);
.default-color0.chart-line-symbol {
-fx-background-color: rgb(0, 102, 255), white;
.default-color1.chart-line-symbol {
-fx-background-color: rgb(0, 255, 102), white;
}And a test harness to try it:
import javafx.application.Application;
import javafx.event.*;
import javafx.scene.Scene;
import javafx.scene.chart.*;
import javafx.scene.control.*;
import javafx.scene.input.*;
import javafx.stage.Stage;
public class LineChartWithCustomColors extends Application {
@Override public void start(final Stage stage) {
stage.setTitle("Line Chart Sample");
//defining the axes
final NumberAxis xAxis = new NumberAxis();
xAxis.setLabel("Number of Month");
final NumberAxis yAxis = new NumberAxis();
//creating the chart
final LineChart<Number,Number> lineChart =
new LineChart<>(xAxis,yAxis);
lineChart.setTitle("Stock Monitoring, 2010");
lineChart.setCreateSymbols(false);
//defining a series
XYChart.Series series = new XYChart.Series();
series.setName("My portfolio");
//populating the series with data
series.getData().setAll(
new XYChart.Data(1, 23),
new XYChart.Data(2, 14),
new XYChart.Data(3, 15),
new XYChart.Data(4, 24),
new XYChart.Data(5, 34),
new XYChart.Data(6, 36),
new XYChart.Data(7, 22),
new XYChart.Data(8, 45),
new XYChart.Data(9, 43),
new XYChart.Data(10, 17),
new XYChart.Data(11, 29),
new XYChart.Data(12, 25)
lineChart.getData().add(series);
//adding a context menu item to the chart
final MenuItem resizeItem = new MenuItem("Resize");
resizeItem.setOnAction(new EventHandler<ActionEvent>() {
@Override public void handle(ActionEvent event) {
System.out.println("Resize requested");
final ContextMenu menu = new ContextMenu(
resizeItem
lineChart.setOnMouseClicked(new EventHandler<MouseEvent>() {
@Override public void handle(MouseEvent event) {
if (MouseButton.SECONDARY.equals(event.getButton())) {
menu.show(stage, event.getScreenX(), event.getScreenY());
Scene scene =
new Scene(
lineChart,800,600
stage.setScene(
scene
stage.show();
scene.getStylesheets().add(
getClass().getResource("chart.css").toExternalForm()
public static void main(String[] args) {
launch(args);
} -
Date Format in SAP chart customizing - Gantt
Hello Everybody,
I have problems with date format in Gantt chart coding in
ABAP using xml concatenate,
when i am customizing the xml from chart designer.
I want Time(X) axis in Days but its showing in quarters or weeks.
I also tried with LineFormat but i could not get control over it.
can anybody please help me!!!
here is my code:
xml = '<?xml version="1.0" encoding="utf-8" ?><SAPChartCustomizing version="2.0">'.
CONCATENATE xml '<GlobalSettings><Dimension>PseudoThree</Dimension>' INTO xml.
CONCATENATE xml ' <TransparentColor>None</TransparentColor>' INTO xml.
CONCATENATE xml ' <ColorPalette>Tradeshow</ColorPalette>' INTO xml.
CONCATENATE xml ' <ColorOrder>Default</ColorOrder>' INTO xml.
CONCATENATE xml '<Defaults><ChartType>Gantt</ChartType></Defaults></GlobalSettings>' INTO xml.
CONCATENATE xml '<Values><Series><LineType>Direct</LineType><LineType1>Year</LineType1>
<LineType2>Month</LineType2><LineType3>Day</LineType3><LineWidth>2</LineWidth>
<MarkerShape>None</MarkerShape></Series></Values></SAPChartCustomizing>'
INTO xml.
*SEND CUSTOMIZING TO CHART ENGINE:
lo_chart->set_customizing( data = xml ).
Thanks in advance
BobbyHi Vijay,
It's for ABAP only could you please post the solution.
here i would like to share how i have given my series values:
xml = '<?xml version="1.0"?>'.
CONCATENATE xml '<ChartData>' INTO xml.
CONCATENATE xml ' <Categories>' INTO xml.
CONCATENATE xml ' <Category>Mat 1</Category>' INTO xml.
CONCATENATE xml ' <Category>Mat 2</Category>' INTO xml.
CONCATENATE xml ' <Category>Mat 3</Category>' INTO xml.
CONCATENATE xml ' </Categories>' INTO xml.
CONCATENATE xml ' <Series label="Op10" Customizing="Op10">' INTO xml.
CONCATENATE xml ' <Point><Value type="time">20010101</Value>' INTO xml.
CONCATENATE xml ' <Value type="time">20010115</Value>' INTO xml.
CONCATENATE xml ' <Value type="time">20010120</Value>' INTO xml.
CONCATENATE xml ' <Value type="time">20010130</Value></Point>' INTO xml.
CONCATENATE xml ' <Point><Value type="time">20010101</Value>' INTO xml.
CONCATENATE xml ' <Value type="time">20010125</Value></Point>' INTO xml.
CONCATENATE xml ' </Series>' INTO xml.
Thanks again.
Bobby -
Chart (stacked bars) - corresponding legend
hi everyone,
i've got the following situation: I'm creating an vertical stacked bar chart (type:BAR_VERT_STACK) with the following code:
<DataValues>
<xsl:for-each-group select=".//ROW[COUNTRY!='']" group-by="COUNTRY">
<xsl:sort select="COUNTRY" order="DESCENDING"/>
<xsl:variable name="my_country" select="COUNTRY"/>
<RowData>
<xsl:for-each-group select="../ROW[MONTH!='']" group-by="MONTH">
<xsl:variable name="my_month" select="MONTH"/>
<Cell><xsl:value-of select="../ROW[COUNTRY=$my_country] [MONTH=$my_month]/AMOUNT"/></Cell> </xsl:for-each-group>
</RowData>
</xsl:for-each-group>
</DataValues>
and the legend:
<RowLabels>
<xsl:for-each-group select=".//ROW" group-by="COUNTRY">
<xsl:sort select="COUNTRY"/>
<Label><xsl:value-of select="current-group()/COUNTRY"/></Label>
</xsl:for-each-group>
</RowLabels>
everything works fine, but my problem is, that the created stacks are not in the same order as my legend .... so, if my first stack for example shows US, then the last item of the legend should show US as well.
does anyone know how to create this behaviour?
thanksMike,
thanks - I am aware of the stacked barcharts - the question is, if this type is available in a clustered manner as well ?
I so far cud only see either "stacked barcharts" or "clustered barcharts" - but not "clustered , stacked barcharts" which wud be series of stacked barcharts ...
TIA
Bernhard -
R6i = Pie-Chart only without a legend possible & colour fix ?
I try to create a pie-chart with a legend. It is possible to set the flag for the legend on, but it don't show me one. Only with other charts it shows.
Is this correct and is there another way to create a legend ?
Are the colors from the pie always the same (fixed/defined) or can I fix it ?
Thanks for you help. RogerHi Shishir,
Bad news for you... I think the only way to do it is by creating and adding the chart dynamically in the code.
Regards,
Mathieu. -
Charting / custom plot chart advice?
Hi, I'm trying to build a customized chart in Flex that might
be a bit over my current skill level so I was hoping I could get a
tip how to approach this. Essentially it will be a plot chart with
an associated data table. The plot chart will have only one series
of data but each point on the chart shall indicate a range. Instead
of having two dots on the chart (2 series) that indicate the lower
and higher bound, I want to have, in essence, two dots that are
joined by a wide long bar. If that's too hard I might go for just a
thick bar going from lower bound to upper bound. I believe this
should be done with just one data series indicating the upper and
lower value because both values really belong together. The user
would click anywhere on that bar to select it. So there is only one
item to interact with per point and therefore there is also only
tooltip for both. The bars are not evenly spaced out but based on
date information, so I'd use a Data-Time axis horizontally and a
regular linear axis vertically.
I believe the right way to build this is a custom renderer
for the actual datapoint and that's where I was looking for a
tip/advice. Is that hard to do? Is there some classes that I can
tweak into doing that for me without writing custom components or
such?
The other thing I want to achieve (after I solved this one)
is to have a data grid associated with the chart. When one data
item is clicked in the chart, the corresponding row in the table
gets highlighted, and vice versa, if the user clicks a row in the
table, the corresponding chart item is highlighted. I think that's
doable too, it's just a bit tricky with how the events are flying
around I think. But, as I said, first I need to figure out the
chart.
If anybody has some advice how I should approach that I sure
would appreciate it. I experimented around with Bubble charts over
a category axis for a while but I think it really should be done
with a plot chart over a time axis and maybe a custom renderer for
the data point.
Thanks a bunch!
AndreasHi AndreasD,
Can you please let me know if you were able to get solution to the below querry. My curent requirement is very close to what you have specified in the querry
Regards
Kalavati Singh
[email protected] -
Chart, custom xml max lenth issue
Hi all.
I have a flash chart where i am using custom xml.
The problem i am facing is when i am reaching the limit of data which can be entered into the custom xml text area.
Is there any way around this?
Is it possible to include an external xml file for use with the chart?
Cheers.Hi,
I created a simple workaround but still it can't be the best way to avoid this error.
Watch this forum thread: AnyChart gantt with custom xml and more then 32k
Tobias -
2-d column chart, custom X-Axis labels
Been looking through this forum and anychart's and did no t find an example of customizing a 2d chart in the following fashion..
Data I have is month report data for a period of 12 months or more..
Each x-axis item has a month & year label right now
Customers are wanting the following accomplished:
Show each month label, but for every 12th month period, show the Year centered for the period..
I know it will involve custom XML, but for the life of me I am drawing a blank.. I looked briefly at some demos online (Hilary's I Believe and am not sure how to go forward)
Sample Application posted on Apex.Oracle.com
Workspace: Homeworld
User: demo
Password: demo
App ID: 28970 - Percent in report issue
Page : 5, Sample chart
Thanks again folks!
Tony Miller
Dallas, TXTony,
Does this version of your SQL do the trick?SELECT NULL link,
CASE
WHEN TO_CHAR (date_charged, 'MON') = 'JAN'
THEN
TO_CHAR (date_charged, 'MON')
|| ' '
|| TO_CHAR (date_charged, 'YYYY')
ELSE
TO_CHAR (date_charged, 'MON')
END
datee,
amount / 10000
FROM ( SELECT *
FROM test_chart_data
ORDER BY date_charged ASC)Tried it in a new page (6) but the chart is not returning all 40 rows.
Jeff -
Hello everyone,
I was wondering if you could point me to a sort of "user's guide" or "developer's guide" for Anychart (the component that Apex uses to generate flash charts).
The "documentation" I found on their site (http://www.anychart.com/products/anychart/tutorials/xmlreference/index.html) can hardly deserve that name as it does not provide much detail.
Thank you,
PabloHello Anton,
Thank you very much for the link. Anyways, I still wasn't able to find what I was looking for. Do you know if there's a way to add a line between the caption and its corresponding slice in a 3D pie chart? Regrettably, when there are a few values that represent a small portion of the pie, their captions overlap.
Thanks again,
Pablo -
Wrapping of text in legend of charts in Business Objects Dashboards 4.1
Hi all,
I have a dashboard which contain a few charts. But the legend in the charts is exceeding the length of the charts. Is there a way by which I can wrap the text of the legend within the chart area? I have not been able to find anything in the chart properties.
Any solution or workaround proposed will be highly appreciated.
Thanks in advance.
Regards,
Nalin DwivediHi,
Check this out this help you.
http://scn.sap.com/community/businessobjects-dashboards/blog/2013/06/26/displaying-column-charts-with-long-label-names
what kind of chart are you using if you using column chart, then try with bar chart which can actual help you in displaying the text in better, only thing you need to convince the customer.
--SumanT -
I can make custom chart titles, but on a pie chart, how to I create custom legend values..
I tried on the formula of the field:
CASE WHEN "Shelter Survey"."Home Loss"='Y' THEN 'CUSTOM_VALUE' END
but the chart still shows the legend with the value in the column, not the value of the formuladid you replace the column or added it?
you will need to replace the column
if adding, you would need to select the checkbox for the newly added column in the pie chart.
Maybe you are looking for
-
I have requested a verification email to be sent and this has not come through - requested yesterday.
-
CRM - SAP ECC 6.0- How to keep creation user data
Hello gurus, I'm working on a SAP project which scope is CRM - ECC6.0 (IS-U +SD) - BI 7.0 and we are facing an issue trying to extract from IS-U the user who created a business operation. You have to know that process designed is : - business operati
-
Encode URL with h:outputLink
Hi All, I have used an output Link to access a servlet. But the problem lies in i want to encode my URL. something like href='<%= renderResponse.encodeURL(renderRequest.getContextPath() + "/theme/exestyle.css") %>' I am currently using the url in the
-
N97 system error after software update
hello there... I've recently updated my N97 software to 21.0.045 (the last one)... and right after the update is finished, it gave me "system error" on installing... and now I can't get access to the clock, the calender and others... it even stops re
-
Need to bounce Database ?
Hello, Is it necessary to bounce(shutdown & startup) the database after configuring OEM manually? because Enterprise Manager is not able to connect to the database instance. The state of the components are listed below. when we click for "startup" af