Flash Chart Line Graph
Hello,
I have two series in a line chart the first is January through December (2006) the second is January through June (2007). The Second Series drops to zero for the missing months (July-December 2007).
My X Axis is Month.
Any work arounds?
Thanks,
Paul
hi cwendell
I believe the values should be considered null and nothing should be displayed in case of line chart. It will be a broken line in some cases .. however, missing values considered as zeros is not acceptable.
I have a similar problem. I am handling this problem in a time series chart, where the values are plotted against different dates.
Similar Messages
-
Adding 3 horizontal lines to a 2D Line flash chart
Hi
I have a nice 2D Line flash chart. I would like to add three horizontal lines (they are constant values) on the graph. These lines are thresholds for the values displayed on the graph.
I tried to add trhe series to the graph, it worlks well but the problem is that it slow down too much the process of computing of the chart
Here is my request, you see with the 3 series added :
DECLARE
X VARCHAR2 (4000);
BEGIN
x := 'SELECT NULL, TRUNC(DATE1, ''HH''), AVG(VALEUR) "Hauteur",
(SELECT SEUIL_BAS FROM SIVOA.SITE_ECHELLE WHERE SITE = '''|| UPPER (:p184_ename) ||''') "Seuil bas",
(SELECT SEUIL_ALERTE FROM SIVOA.SITE_ECHELLE WHERE SITE = '''|| UPPER (:p184_ename) ||''') "Alerte",
(SELECT SEUIL_ALARME FROM SIVOA.SITE_ECHELLE WHERE SITE = '''|| UPPER (:p184_ename) ||''') "Alarme"
FROM SIVOA.EVV_'
|| UPPER (:p184_ename) ||
' WHERE CLEF_VAR = (SELECT CLEF_VAR FROM SIVOA.SITE_ECHELLE WHERE SITE = '''
|| UPPER (:p184_ename) ||
''') AND DATE1 BETWEEN TO_DATE ('''
||:P8_DATE_DEBUT||'000000'', ''DD/MM/YYYYHH24MISS'') AND TO_DATE ('''
||:P8_DATE_FIN ||'235959'', ''DD/MM/YYYYHH24MISS'')
GROUP BY TRUNC(DATE1, ''HH'')
ORDER BY TRUNC(DATE1, ''HH'')';
RETURN (X);
END;Is there a way to add 3 lines without using a query ?
Thank you for your kindness !
ChristianHi,
I have not solved but found an improvement, I select a constant from a table. This constant is displayed along the horizontal axis.
Example of constant :
(SELECT SEUIL_BAS FROM SIVOA.SITE_ECHELLE WHERE SITE = '''|| UPPER (:p184_ename) ||''') "Seuil bas",
DECLARE
X VARCHAR2 (4000);
BEGIN
x := 'SELECT NULL, TRUNC(DATE1, ''HH''), AVG(VALEUR) "Hauteur",
(SELECT SEUIL_BAS FROM SIVOA.SITE_ECHELLE WHERE SITE = '''|| UPPER (:p184_ename) ||''') "Seuil bas",
(SELECT SEUIL_ALERTE FROM SIVOA.SITE_ECHELLE WHERE SITE = '''|| UPPER (:p184_ename) ||''') "Alerte",
(SELECT SEUIL_ALARME FROM SIVOA.SITE_ECHELLE WHERE SITE = '''|| UPPER (:p184_ename) ||''') "Alarme"
FROM SIVOA.EVV_'
|| UPPER (:p184_ename) ||
' WHERE CLEF_VAR = (SELECT CLEF_VAR FROM SIVOA.SITE_ECHELLE WHERE SITE = '''
|| UPPER (:p184_ename) ||
''') AND DATE1 BETWEEN TO_DATE ('''
||:P8_DATE_DEBUT||'000000'', ''DD/MM/YYYYHH24MISS'') AND TO_DATE ('''
||:P8_DATE_FIN ||'235959'', ''DD/MM/YYYYHH24MISS'')
GROUP BY TRUNC(DATE1, ''HH'')
ORDER BY TRUNC(DATE1, ''HH'')';
RETURN (X);
END;
Perhaps a way is to customize the XML code generated. -
I have a chart region - Flash 2D Line chart with two series based on different tables, both with dates along the X axis
and a figure that represents hours up the Y axis. The idea is for two lines to be displayed on the same graph so they can be
easily compared.
series 1
select null link, END_DATE label, PROJECTED_HOURS Projected_hours
from "E_LOGBOOK"."TEST_PROJECTED"
30/07/2009 700
09/08/2009 800
27/08/2009 9000
series 2
select null link, LIFING_DATE label, ACTUAL_HOURS Current_Hours
from "E_LOGBOOK"."TEST_ACTUAL"
30/07/2009 800
09/08/2009 1000
27/08/2009 12000
When I run the chart with the data above it displays as I would expect, the dates label in chronological order along the bottom with the Correct value plotted for each series.
However if I insert a row into the LIFING_DATE table (second series) so it contains additional data for the 14/08/2009
30/07/2009 800
09/08/2009 1000
14/08/2009 1201
27/08/2009 12000
And then re run the chart this last date and value displays to the right of the existing dates so we have 30/07/2009 09/08/2009 27/08/2009 then 14/08/2009 along the X axis.
I would have expected the new data to fit in the existing range so that 30/07/2009 09/08/2009 14/08/2009 27/08/2009 would display along the bottom.
I am an oracle forms programmer new to APEX (and html, javascript,XML etc) trying to prepare a demo to my manager of what we can do with apex so any help appreciated.
If possible is there a solution without using Third party apps or bi publisher.
Thanks PeteHi Andy,
Thanks for your quick response. If I'm correct in understanding what your saying is that with 2D Line charts that have two series in order for them to display togethor then the label must appear in both series.
I've had a bash using your sql for the 1st series and modifying the second series.
Series 1
SELECT NULL LINK,
X.THE_DATE LABEL,
Y.PROJECTED_HOURS VALUE
FROM
(SELECT END_DATE THE_DATE FROM TEST_PROJECTED
UNION
SELECT LIFING_DATE THE_DATE FROM TEST_ACTUAL
) X
LEFT OUTER JOIN TEST_PROJECTED Y ON X.THE_DATE = Y.END_DATE
ORDER BY X.THE_DATE
07/30/2009 700
08/09/2009 800
08/14/2009
08/27/2009 9000
Series 2
SELECT NULL LINK,
X.THE_DATE LABEL,
Y.ACTUAL_HOURS VALUE
FROM
(SELECT END_DATE THE_DATE FROM TEST_PROJECTED
UNION
SELECT LIFING_DATE THE_DATE FROM TEST_ACTUAL
) X
LEFT OUTER JOIN TEST_ACTUAL Y ON X.THE_DATE = Y.LIFING_DATE
ORDER BY X.THE_DATE
07/30/2009 800
08/09/2009 1000
08/14/2009 1201
08/27/2009 12000
This is a great improvement the series 2 now displays fine and all the points for series 1 are plotted correctly but it seems like the null value prevents the joining of the coordinates in this series. All the points 700,800 and 9000 are displayed correctly but the graph line only joins 700 and 800.
Any further ideas? Thanks Pete -
Problems with Flash Line Graphs
I have two problems with the new Flash Line Graphs in APEX 3.1
1. I have created a query that returns a set number of rows. Sometimes the VALUE for a specific row might be null. When this occurs the LABEL data does not show up on the X axis. I want the LABEL data to show up no matter what. How do I accomplish this?
2. Related to the above query. When the VALUE field is null for 3 records (or more) in a row, not only does the LABEL data for those records not display, the VALUE and LABEL data for the records that appear in the set after these 3 records also do not display. If one or even two null VALUE fields appears in a row, things are still OK. What do I need to do to get all my data to display?
Any help would be appreciated.
THANKS
RaymondRaymond,
For the Interactive report chart issue, could it be related to this?
Re: Apex 3.1. Interactive Report. Questions and Problems.
Interactive Report. Chart. Seems to be bug...
- Christina -
How to draw cumulative line graph over the stacked bar chart?(SSRS)
Hello,
I need your help to draw a cumulative line graph over this bar chart.
I need your help to draw a cumulative line graph over this bar chart in SSRS.
The dimension (Category Group) is "Hour" in this case. and expression is sum of two distinct values like 'Y' and 'N' in Activity column(Series Groups). The sum(Activity=Y) in green color and sum(Activity='N') in Red color.
I require to draw a cumulative line graph in this same chart, that should give the result of cumulative Sum(Activity) for each hour?? I mean sum of (Y+N) for each hour and that should be cumulative over the hour.
I mean sum of (Y+N) for each hour and that should be cumulative over the hour.
SSRS Version details:
Microsoft SQL Server Reporting Services Designers
Version 10.50.1600.1
--SivaHi Siva,
It seems that you need to verify your email address to post images, etc
Besides, Microsoft® SQL Server™ 2008 Reporting Services: Step by Step is a good choice to you. With STEP BY STEP, you work at your own pace through hands-on, learn-by-doing exercises. A companion CD includes data sets and sample code. You can download
it from this link http://my.safaribooksonline.com/9780735626041 Click the Extras, you can get the samples and database from Supplemental Content.
And there are vast of valuable articles and SQL Server Reporting Services Books Online in MSDN ,you can click these link to begin your learning journey, SQL Server Reporting Services 2008 Books Online:
http://msdn.microsoft.com/en-us/library/ms159106(v=SQL.100).aspx
Besides these, there are still many valuable videos in Microsoft Webcast, click this link
https://msevents.microsoft.com/cui/SearchDisplay.aspx?culture=en-US#culture=en-US;eventType=0;sortKey=;sortOrder=;pageEvent=false;hdnInitialCount=;searchcontrol=yes;kwdAny=Reporting%20service to register with a windows live ID, then download the ones you
want.
Hope this helps.
Regards,
Charlie Liao
TechNet Community Support -
How to display 3 lines in an AnyChart candlestick flash chart ?
Hi,
I have a nice Candlestick flash chart and I am using Anychart 5.1.2. i would like to display 3 horizontal bar lines on this chart.
The values on the y axis on these 3 bar lines are contained into 3 items. Do you have an idea on how to display these lines with the XML ? Here is the XML existing.
<?xml version = "1.0" encoding="utf-8" standalone = "yes"?>
<root>
<type>
<chart type="Candlestick">
<animation enabled="no"/>
<hints auto_size="yes">
<text><![CDATA[{NAME}
Niveau maxi: {HIGH}
Niveau moyen: {OPEN}
Niveau mini: {LOW}]]>
</text>
<font type="Verdana" size="10" color="0x000000" />
</hints>
<names show="yes" width="150" placement="chart" position="bottom" >
<font type="Verdana" size="10" color="0x000000" />
</names>
<values show="no" prefix="" postfix=" m ngf" decimal_separator="." decimal_places="0" />
<arguments show="no" />
<candlestick_chart>
<bulls>
<background enabled="yes" color="White" />
</bulls>
<bears>
<background enabled="yes" color="Black" />
</bears>
</candlestick_chart>
</chart>
<workspace>
<background enabled="yes" type="solid" color="0xffffff" alpha="0" />
<base_area enabled="no" />
<chart_area enabled="yes" x="80" y="50" width="670" height="280" deep="0">
<background enabled="no"/>
<border enabled="yes" size="1"/>
</chart_area>
<name text="&P8_SITE_AFF. - Niveau du &P8_DATE_DEBUT. au &P8_DATE_FIN. - Pas de temps : &P8_TRUNC. (DD : Jour, HH24 : Heure, MI : Minute)" >
<font type="Verdana" size="14" color="0x000000" align="center" />
</name>
<x_axis name="Niveau min : &P8_NIVEAU_MIN. m ngf - Niveau max : &P8_NIVEAU_MAX. m ngf - Niveau moyen : &P8_NIVEAU_MOYEN. m ngf" smart="yes" position="center_bottom" >
<font type="Verdana" size="14" color="0x000000" bold="no" align="center" />
</x_axis>
<y_axis name="Niveau" smart="yes" position="left_center" >
<font type="Verdana" size="14" color="0x000000" bold="no" align="center" />
</y_axis>
<grid>
<values />
</grid>
</workspace>
<legend enabled="no"/>
</type>
#DATA#
</root>Thank you for your kind help.
ChristianHi,
I have a nice Candlestick flash chart and I am using Anychart 5.1.2. i would like to display 3 horizontal bar lines on this chart.
The values on the y axis on these 3 bar lines are contained into 3 items. Do you have an idea on how to display these lines with the XML ? Here is the XML existing.
<?xml version = "1.0" encoding="utf-8" standalone = "yes"?>
<root>
<type>
<chart type="Candlestick">
<animation enabled="no"/>
<hints auto_size="yes">
<text><![CDATA[{NAME}
Niveau maxi: {HIGH}
Niveau moyen: {OPEN}
Niveau mini: {LOW}]]>
</text>
<font type="Verdana" size="10" color="0x000000" />
</hints>
<names show="yes" width="150" placement="chart" position="bottom" >
<font type="Verdana" size="10" color="0x000000" />
</names>
<values show="no" prefix="" postfix=" m ngf" decimal_separator="." decimal_places="0" />
<arguments show="no" />
<candlestick_chart>
<bulls>
<background enabled="yes" color="White" />
</bulls>
<bears>
<background enabled="yes" color="Black" />
</bears>
</candlestick_chart>
</chart>
<workspace>
<background enabled="yes" type="solid" color="0xffffff" alpha="0" />
<base_area enabled="no" />
<chart_area enabled="yes" x="80" y="50" width="670" height="280" deep="0">
<background enabled="no"/>
<border enabled="yes" size="1"/>
</chart_area>
<name text="&P8_SITE_AFF. - Niveau du &P8_DATE_DEBUT. au &P8_DATE_FIN. - Pas de temps : &P8_TRUNC. (DD : Jour, HH24 : Heure, MI : Minute)" >
<font type="Verdana" size="14" color="0x000000" align="center" />
</name>
<x_axis name="Niveau min : &P8_NIVEAU_MIN. m ngf - Niveau max : &P8_NIVEAU_MAX. m ngf - Niveau moyen : &P8_NIVEAU_MOYEN. m ngf" smart="yes" position="center_bottom" >
<font type="Verdana" size="14" color="0x000000" bold="no" align="center" />
</x_axis>
<y_axis name="Niveau" smart="yes" position="left_center" >
<font type="Verdana" size="14" color="0x000000" bold="no" align="center" />
</y_axis>
<grid>
<values />
</grid>
</workspace>
<legend enabled="no"/>
</type>
#DATA#
</root>Thank you for your kind help.
Christian -
Need Help with creating Line Graph Chart
I have the following XML Data
<DATA>
<PERCENT_ROW>
<YEAR>2007</YEAR>
<PERIOD>3</PERIOD>
<MATERIAL_TYPE>C</MATERIAL_TYPE>
<BRANCHDESC>Longview</BRANCHDESC>
<LOCATION>30</LOCATION>
<QUARTERDESC>Quarter 1</QUARTERDESC>
<CURRPERIOD>Mar 2007</CURRPERIOD>
<VALUECURRENTPERIOD>99.9</VALUECURRENTPERIOD>
<QUARTERVALUE>100</QUARTERVALUE>
<YTDVALUE>100</YTDVALUE>
<STDCURRENTPERIOD>99.2</STDCURRENTPERIOD>
<VARIANCE_STD>-.7</VARIANCE_STD>
<VARIANCE_STD_PERCENT>-.7</VARIANCE_STD_PERCENT>
<CURRENT_12MMA>99.97</CURRENT_12MMA>
<PRIOR_12MMA>0</PRIOR_12MMA>
<CURRPERSUB1>Feb 2007</CURRPERSUB1>
<VALUECURRENTPERIODSUB1>100</VALUECURRENTPERIODSUB1>
<CURRPERSUB2>Jan 2007</CURRPERSUB2>
<VALUECURRENTPERIODSUB2>100</VALUECURRENTPERIODSUB2>
<CURRPERSUB3>Dec 2006</CURRPERSUB3>
<VALUECURRENTPERIODSUB3>0</VALUECURRENTPERIODSUB3>
<CURRPERSUB4>Nov 2006</CURRPERSUB4>
<VALUECURRENTPERIODSUB4>0</VALUECURRENTPERIODSUB4>
<CURRPERSUB5>Oct 2006</CURRPERSUB5>
<VALUECURRENTPERIODSUB5>0</VALUECURRENTPERIODSUB5>
<CURRPERSUB6>Sep 2006</CURRPERSUB6>
<VALUECURRENTPERIODSUB6>0</VALUECURRENTPERIODSUB6>
<CURRPERSUB7>Aug 2006</CURRPERSUB7>
<VALUECURRENTPERIODSUB7>0</VALUECURRENTPERIODSUB7>
<CURRPERSUB8>Jul 2006</CURRPERSUB8>
<VALUECURRENTPERIODSUB8>0</VALUECURRENTPERIODSUB8>
<CURRPERSUB9>Jun 2006</CURRPERSUB9>
<VALUECURRENTPERIODSUB9>0</VALUECURRENTPERIODSUB9>
<CURRPERSUB10>May 2006</CURRPERSUB10>
<VALUECURRENTPERIODSUB10>0</VALUECURRENTPERIODSUB10>
<CURRPERSUB11>Apr 2006</CURRPERSUB11>
<VALUECURRENTPERIODSUB11>0</VALUECURRENTPERIODSUB11>
</PERCENT_ROW>
<PERCENT_ROW>
<YEAR>2007</YEAR>
<PERIOD>3</PERIOD>
<MATERIAL_TYPE>C</MATERIAL_TYPE>
<BRANCHDESC>Oakland</BRANCHDESC>
<LOCATION>31</LOCATION>
<QUARTERDESC>Quarter 1</QUARTERDESC>
<CURRPERIOD>Mar 2007</CURRPERIOD>
<VALUECURRENTPERIOD>100</VALUECURRENTPERIOD>
<QUARTERVALUE>100</QUARTERVALUE>
<YTDVALUE>100</YTDVALUE>
<STDCURRENTPERIOD>100</STDCURRENTPERIOD>
<VARIANCE_STD>0</VARIANCE_STD>
<VARIANCE_STD_PERCENT>0</VARIANCE_STD_PERCENT>
<CURRENT_12MMA>100</CURRENT_12MMA>
<PRIOR_12MMA>0</PRIOR_12MMA>
<CURRPERSUB1>Feb 2007</CURRPERSUB1>
<VALUECURRENTPERIODSUB1>100</VALUECURRENTPERIODSUB1>
<CURRPERSUB2>Jan 2007</CURRPERSUB2>
<VALUECURRENTPERIODSUB2>100</VALUECURRENTPERIODSUB2>
<CURRPERSUB3>Dec 2006</CURRPERSUB3>
<VALUECURRENTPERIODSUB3>0</VALUECURRENTPERIODSUB3>
<CURRPERSUB4>Nov 2006</CURRPERSUB4>
<VALUECURRENTPERIODSUB4>0</VALUECURRENTPERIODSUB4>
<CURRPERSUB5>Oct 2006</CURRPERSUB5>
<VALUECURRENTPERIODSUB5>0</VALUECURRENTPERIODSUB5>
<CURRPERSUB6>Sep 2006</CURRPERSUB6>
<VALUECURRENTPERIODSUB6>0</VALUECURRENTPERIODSUB6>
<CURRPERSUB7>Aug 2006</CURRPERSUB7>
<VALUECURRENTPERIODSUB7>0</VALUECURRENTPERIODSUB7>
<CURRPERSUB8>Jul 2006</CURRPERSUB8>
<VALUECURRENTPERIODSUB8>0</VALUECURRENTPERIODSUB8>
<CURRPERSUB9>Jun 2006</CURRPERSUB9>
<VALUECURRENTPERIODSUB9>0</VALUECURRENTPERIODSUB9>
<CURRPERSUB10>May 2006</CURRPERSUB10>
<VALUECURRENTPERIODSUB10>0</VALUECURRENTPERIODSUB10>
<CURRPERSUB11>Apr 2006</CURRPERSUB11>
<VALUECURRENTPERIODSUB11>0</VALUECURRENTPERIODSUB11>
</PERCENT_ROW>
<PERCENT_ROW>
<YEAR>2007</YEAR>
<PERIOD>3</PERIOD>
<MATERIAL_TYPE>C</MATERIAL_TYPE>
<BRANCHDESC>Seattle</BRANCHDESC>
<LOCATION>32</LOCATION>
<QUARTERDESC>Quarter 1</QUARTERDESC>
<CURRPERIOD>Mar 2007</CURRPERIOD>
<VALUECURRENTPERIOD>12.4</VALUECURRENTPERIOD>
<QUARTERVALUE>18.7</QUARTERVALUE>
<YTDVALUE>18.7</YTDVALUE>
<STDCURRENTPERIOD>-2527.7</STDCURRENTPERIOD>
<VARIANCE_STD>-2540.1</VARIANCE_STD>
<VARIANCE_STD_PERCENT>100.5</VARIANCE_STD_PERCENT>
<CURRENT_12MMA>18.7</CURRENT_12MMA>
<PRIOR_12MMA>0</PRIOR_12MMA>
<CURRPERSUB1>Feb 2007</CURRPERSUB1>
<VALUECURRENTPERIODSUB1>37.2</VALUECURRENTPERIODSUB1>
<CURRPERSUB2>Jan 2007</CURRPERSUB2>
<VALUECURRENTPERIODSUB2>6.5</VALUECURRENTPERIODSUB2>
<CURRPERSUB3>Dec 2006</CURRPERSUB3>
<VALUECURRENTPERIODSUB3>0</VALUECURRENTPERIODSUB3>
<CURRPERSUB4>Nov 2006</CURRPERSUB4>
<VALUECURRENTPERIODSUB4>0</VALUECURRENTPERIODSUB4>
<CURRPERSUB5>Oct 2006</CURRPERSUB5>
<VALUECURRENTPERIODSUB5>0</VALUECURRENTPERIODSUB5>
<CURRPERSUB6>Sep 2006</CURRPERSUB6>
<VALUECURRENTPERIODSUB6>0</VALUECURRENTPERIODSUB6>
<CURRPERSUB7>Aug 2006</CURRPERSUB7>
<VALUECURRENTPERIODSUB7>0</VALUECURRENTPERIODSUB7>
<CURRPERSUB8>Jul 2006</CURRPERSUB8>
<VALUECURRENTPERIODSUB8>0</VALUECURRENTPERIODSUB8>
<CURRPERSUB9>Jun 2006</CURRPERSUB9>
<VALUECURRENTPERIODSUB9>0</VALUECURRENTPERIODSUB9>
<CURRPERSUB10>May 2006</CURRPERSUB10>
<VALUECURRENTPERIODSUB10>0</VALUECURRENTPERIODSUB10>
<CURRPERSUB11>Apr 2006</CURRPERSUB11>
<VALUECURRENTPERIODSUB11>0</VALUECURRENTPERIODSUB11>
</PERCENT_ROW>
<PERCENT_ROW>
<YEAR>2007</YEAR>
<PERIOD>3</PERIOD>
<MATERIAL_TYPE>C</MATERIAL_TYPE>
<BRANCHDESC>Yakima</BRANCHDESC>
<LOCATION>33</LOCATION>
<QUARTERDESC>Quarter 1</QUARTERDESC>
<CURRPERIOD>Mar 2007</CURRPERIOD>
<VALUECURRENTPERIOD>36.4</VALUECURRENTPERIOD>
<QUARTERVALUE>68.2</QUARTERVALUE>
<YTDVALUE>68.2</YTDVALUE>
<STDCURRENTPERIOD>-5517.2</STDCURRENTPERIOD>
<VARIANCE_STD>-5553.6</VARIANCE_STD>
<VARIANCE_STD_PERCENT>100.7</VARIANCE_STD_PERCENT>
<CURRENT_12MMA>68.17</CURRENT_12MMA>
<PRIOR_12MMA>0</PRIOR_12MMA>
<CURRPERSUB1>Feb 2007</CURRPERSUB1>
<VALUECURRENTPERIODSUB1>68.6</VALUECURRENTPERIODSUB1>
<CURRPERSUB2>Jan 2007</CURRPERSUB2>
<VALUECURRENTPERIODSUB2>99.5</VALUECURRENTPERIODSUB2>
<CURRPERSUB3>Dec 2006</CURRPERSUB3>
<VALUECURRENTPERIODSUB3>0</VALUECURRENTPERIODSUB3>
<CURRPERSUB4>Nov 2006</CURRPERSUB4>
<VALUECURRENTPERIODSUB4>0</VALUECURRENTPERIODSUB4>
<CURRPERSUB5>Oct 2006</CURRPERSUB5>
<VALUECURRENTPERIODSUB5>0</VALUECURRENTPERIODSUB5>
<CURRPERSUB6>Sep 2006</CURRPERSUB6>
<VALUECURRENTPERIODSUB6>0</VALUECURRENTPERIODSUB6>
<CURRPERSUB7>Aug 2006</CURRPERSUB7>
<VALUECURRENTPERIODSUB7>0</VALUECURRENTPERIODSUB7>
<CURRPERSUB8>Jul 2006</CURRPERSUB8>
<VALUECURRENTPERIODSUB8>0</VALUECURRENTPERIODSUB8>
<CURRPERSUB9>Jun 2006</CURRPERSUB9>
<VALUECURRENTPERIODSUB9>0</VALUECURRENTPERIODSUB9>
<CURRPERSUB10>May 2006</CURRPERSUB10>
<VALUECURRENTPERIODSUB10>0</VALUECURRENTPERIODSUB10>
<CURRPERSUB11>Apr 2006</CURRPERSUB11>
<VALUECURRENTPERIODSUB11>0</VALUECURRENTPERIODSUB11>
</PERCENT_ROW>
<PERCENT_ROW>
<YEAR>2007</YEAR>
<PERIOD>3</PERIOD>
<MATERIAL_TYPE>C</MATERIAL_TYPE>
<BRANCHDESC>Twin Falls</BRANCHDESC>
<LOCATION>34</LOCATION>
<QUARTERDESC>Quarter 1</QUARTERDESC>
<CURRPERIOD>Mar 2007</CURRPERIOD>
<VALUECURRENTPERIOD>100</VALUECURRENTPERIOD>
<QUARTERVALUE>99.8</QUARTERVALUE>
<YTDVALUE>99.8</YTDVALUE>
<STDCURRENTPERIOD>100</STDCURRENTPERIOD>
<VARIANCE_STD>0</VARIANCE_STD>
<VARIANCE_STD_PERCENT>0</VARIANCE_STD_PERCENT>
<CURRENT_12MMA>99.8</CURRENT_12MMA>
<PRIOR_12MMA>0</PRIOR_12MMA>
<CURRPERSUB1>Feb 2007</CURRPERSUB1>
<VALUECURRENTPERIODSUB1>99.4</VALUECURRENTPERIODSUB1>
<CURRPERSUB2>Jan 2007</CURRPERSUB2>
<VALUECURRENTPERIODSUB2>100</VALUECURRENTPERIODSUB2>
<CURRPERSUB3>Dec 2006</CURRPERSUB3>
<VALUECURRENTPERIODSUB3>0</VALUECURRENTPERIODSUB3>
<CURRPERSUB4>Nov 2006</CURRPERSUB4>
<VALUECURRENTPERIODSUB4>0</VALUECURRENTPERIODSUB4>
<CURRPERSUB5>Oct 2006</CURRPERSUB5>
<VALUECURRENTPERIODSUB5>0</VALUECURRENTPERIODSUB5>
<CURRPERSUB6>Sep 2006</CURRPERSUB6>
<VALUECURRENTPERIODSUB6>0</VALUECURRENTPERIODSUB6>
<CURRPERSUB7>Aug 2006</CURRPERSUB7>
<VALUECURRENTPERIODSUB7>0</VALUECURRENTPERIODSUB7>
<CURRPERSUB8>Jul 2006</CURRPERSUB8>
<VALUECURRENTPERIODSUB8>0</VALUECURRENTPERIODSUB8>
<CURRPERSUB9>Jun 2006</CURRPERSUB9>
<VALUECURRENTPERIODSUB9>0</VALUECURRENTPERIODSUB9>
<CURRPERSUB10>May 2006</CURRPERSUB10>
<VALUECURRENTPERIODSUB10>0</VALUECURRENTPERIODSUB10>
<CURRPERSUB11>Apr 2006</CURRPERSUB11>
<VALUECURRENTPERIODSUB11>0</VALUECURRENTPERIODSUB11>
</PERCENT_ROW>
<PERCENT_ROW>
<YEAR>2007</YEAR>
<PERIOD>3</PERIOD>
<MATERIAL_TYPE>C</MATERIAL_TYPE>
<BRANCHDESC>Spanish Fork</BRANCHDESC>
<LOCATION>35</LOCATION>
<QUARTERDESC>Quarter 1</QUARTERDESC>
<CURRPERIOD>Mar 2007</CURRPERIOD>
<VALUECURRENTPERIOD>7.7</VALUECURRENTPERIOD>
<QUARTERVALUE>10.2</QUARTERVALUE>
<YTDVALUE>10.2</YTDVALUE>
<STDCURRENTPERIOD>-6016.2</STDCURRENTPERIOD>
<VARIANCE_STD>-6023.9</VARIANCE_STD>
<VARIANCE_STD_PERCENT>100.1</VARIANCE_STD_PERCENT>
<CURRENT_12MMA>10.23</CURRENT_12MMA>
<PRIOR_12MMA>0</PRIOR_12MMA>
<CURRPERSUB1>Feb 2007</CURRPERSUB1>
<VALUECURRENTPERIODSUB1>14.9</VALUECURRENTPERIODSUB1>
<CURRPERSUB2>Jan 2007</CURRPERSUB2>
<VALUECURRENTPERIODSUB2>8.1</VALUECURRENTPERIODSUB2>
<CURRPERSUB3>Dec 2006</CURRPERSUB3>
<VALUECURRENTPERIODSUB3>0</VALUECURRENTPERIODSUB3>
<CURRPERSUB4>Nov 2006</CURRPERSUB4>
<VALUECURRENTPERIODSUB4>0</VALUECURRENTPERIODSUB4>
<CURRPERSUB5>Oct 2006</CURRPERSUB5>
<VALUECURRENTPERIODSUB5>0</VALUECURRENTPERIODSUB5>
<CURRPERSUB6>Sep 2006</CURRPERSUB6>
<VALUECURRENTPERIODSUB6>0</VALUECURRENTPERIODSUB6>
<CURRPERSUB7>Aug 2006</CURRPERSUB7>
<VALUECURRENTPERIODSUB7>0</VALUECURRENTPERIODSUB7>
<CURRPERSUB8>Jul 2006</CURRPERSUB8>
<VALUECURRENTPERIODSUB8>0</VALUECURRENTPERIODSUB8>
<CURRPERSUB9>Jun 2006</CURRPERSUB9>
<VALUECURRENTPERIODSUB9>0</VALUECURRENTPERIODSUB9>
<CURRPERSUB10>May 2006</CURRPERSUB10>
<VALUECURRENTPERIODSUB10>0</VALUECURRENTPERIODSUB10>
<CURRPERSUB11>Apr 2006</CURRPERSUB11>
<VALUECURRENTPERIODSUB11>0</VALUECURRENTPERIODSUB11>
</PERCENT_ROW>
</DATA>
Note that each Branch_Desc has 12 periods called CURRPERIOD,CURPERSUB1,CURPERSUB2 ...... and 12 values for those periods as VALUECURRENTPERIOD, VALUECURRENTPERIODSUB1, VALUECURRENTPERIODSUB2......
I need to create a Line Graph for each Branch for the 12 periods as defined above where VALUECURRENTPERIOD, VALUECURRENTPERIODSUB1 etc. are the values for that period. The current BIPublisher Chart tool only allows one Value and One Label. In my case I have 12 VALUES (VALUECURRENTPERIOD etc.) and 12 LABELS (CURRPERIOD, CURPERSUB1 etc.). The SERIES or LEGEND should be the Branch Desc . So what I am looking for is to plot values(12 values) for 6 branches (so six lines) over a period of time (12 periods).Hi Tim,
We have this XML data calculated from several tables where the layout was in the format of One account(a Branch in this case) and 12 periodic values for the same . So reformatting the XML is not going to be easy as the source data is like this itself. I tried un-pivioting the table (as this one is already pivoted) but it looks like Oracle doesn't support this feature yet, but is suported in DB2 or SQL. Please take a look at this link
http://blogs.ittoolbox.com/database/technology/archives/unpivot-query-12798?close=true
So I am stuck with the data in this format and users want a line graph for each branch over he period of time. May be somone on this forum can figure out how to un-pivot a table in Oracle. Thanks for your help in advance. -
CR 9 - Need HELP Setting Line Graph colors in the Chart Expert
Post Author: desselle
CA Forum: Charts and Graphs
Hello,
I created a Crystal Report (CR) based off an existing Trend Analysis report. I have created a VB6 application that calls the .RPT file I created for the report in CR. The VB6 app sets the report recordset via code that corresponds to the .TTX file, and the parameters . The report contains a Line graph that plots five pieces of data. The report & graph work good. The Problem: CR determines the color of each line on the graph. However, I need to set the color for each line to correspond to the colors used on our existing reports. The users are accustom to a certain color representing a certain set of data on the existing reports. I have tried everything I can think of and from all documentation I can find, and nothing changes the line colors. I have tried all of the following:
1.) From the Chart Expert, Option tab, I click the Format button next to Color and setup conditional color settings per each piece of data. However, when I run the report these conditional color settings are not reflected on the CR graph. I am using formula fields (based off database fields in the recordset) to produce the report. However, I only see the database fields to use in the conditional color formatting screen and not the formula fields. I thought this would possibly be the cause why the colors wonu2019t change on the CR, but I canu2019t find a way to make the formula fields show up in the list.
2.)Also, I tried right clicking the individual lines of the graph and change the selected item color, but this didnu2019t change the color either. I do this in Design mode and Preview mode and neither one changes the color of the lines on the graph.
3.)I have also looked into the CR object model to see if I can change the line colors of the graph via code and it doesn't look like I am given this flexibility.
Do you know what I am doing wrong here? I just want to be able to set the color of each line on the CR graph to the color I want instead of using the default colors. Are there some Hot Fixes that I need to apply to my copy of CR?
ThanksPost Author: desselle
CA Forum: Charts and Graphs
Hello,
I got the problem fixed w/ the line graph not making the data lines the same color on the report as on the frmPlot graph. Compare the two screen shots below. The problem was as follows: When I created the graph (in the Chart Expert) the field u201CReadingDateu201D was not one of the Report Fields, and all the other fields were Report Fields (Reading, LowAlarm, UpperAlarm, LowerLimit, & UpperLimit). See the 3rd screen shot below. ReadingDate does show up as a Report Field now but it wasnu2019t at first. Originally, this field was only available in the Chart Expert as a recordset field. When I changed this field to be a Report Field, the graph then allowed me to change the data series line colors. This was not obvious at all. From the beginning when I setup the graph and passed in the recordset from VB it graphed all of the data series fine. The colors that the Chart Expert chose for each line just didnu2019t match what was on the frmPlot graph. Anyway, it is working now. I can at least say I learned (somethingu2019s to-do and somethingu2019s not to-do) a good bit about Crystal Reports in the process.
Thanks -
CR XI - Problem Setting Line Graph colors in the Chart Expert
Post Author: desselle
CA Forum: Charts and Graphs
Hello,
I created a Crystal Report (CR) of an existing Trend Analysis report. I have created a VB6 application that calls the .RPT file I created for the report in CR. The VB6 app sets the report recordset via code that corrsponds to the .TTX file, and the parameters . The report contains a Line graph that plots five pieces of data. The report & graph work good. CR determines the color of each line on the graph. However, I need to set the color for each line to correspond to the colors used on our existing reports. The users are accustom to a certain color representing a certain set of data on the existing reports. I have tried everything I can think of and from all documentation I can find, and nothing changes the line colors. I have tried all of the following:
1.) From the Chart Expert, Option tab, I click the Format button next to Color and setup conditional color settings per each piece of data. However, when I run the report these conditional color settings are not reflected on the CR graph. I am using formula fields (based off database fields in the recordset) to produce the report. However, I only see the database fields to use in the conditional color formatting screen and not the formula fields. I thought this would possibly be the cause why the colors wonu2019t change on the CR, but I canu2019t find a way to make the formula fields show up in the list.
2.)Also, I tried right clicking the individual lines of the graph and change the selected item color, but this didnu2019t change the color either. I do this in Design mode and Preview mode and neither one changes the color of the lines on the graph.
3.)I have also looked into the CR object model to see if I can change the line colors of the graph via code and it doesn't look like I am given this flexibility.
Do you know what I am doing wrong here? I just want to be able to set the color of each line on the CR graph to the color I want instead of using the default colors.
Thanks,StevePost Author: desselle
CA Forum: Charts and Graphs
Hello,
I got the problem fixed w/ the line graph not making the data lines the same color on the report as on the frmPlot graph. Compare the two screen shots below. The problem was as follows: When I created the graph (in the Chart Expert) the field u201CReadingDateu201D was not one of the Report Fields, and all the other fields were Report Fields (Reading, LowAlarm, UpperAlarm, LowerLimit, & UpperLimit). See the 3rd screen shot below. ReadingDate does show up as a Report Field now but it wasnu2019t at first. Originally, this field was only available in the Chart Expert as a recordset field. When I changed this field to be a Report Field, the graph then allowed me to change the data series line colors. This was not obvious at all. From the beginning when I setup the graph and passed in the recordset from VB it graphed all of the data series fine. The colors that the Chart Expert chose for each line just didnu2019t match what was on the frmPlot graph. Anyway, it is working now. I can at least say I learned (somethingu2019s to-do and somethingu2019s not to-do) a good bit about Crystal Reports in the process.
Thanks -
I am using a flash chart - 2d line.
The purpose of the chart is to show the percentage completed by the specified date. The percentage does not go up all the time. Some times it can go down also. We are capturing the comments if the percentage goes down.
The following is the query. When there is only one entry, the line goes across on the top of the bar chart. It does not reflect what I wanted. I wanted the chart to start at 0 and progress towards 100%
SELECT NULL LINK, date, Percentage FROM tableA where id=:id ORDER BY 2
Thanks in advanceThank you Dimitri,
I tried specifying the colors myself, but that didn't helped.
What do you mean by putting the example online ... where?
In fact to see this bug is very simple: it is enough to create a page with a standard 2dPie Flash Chart (with legend), and add a chart series with following source (series query):
select null, rownum , mod(rownum,2) from all_objects
where rownum<10
Setting the Chart type to 2d pie or doughnut will have the mentioned problems, while the 3d pie not.
For the moment we don't want to buy AnyChart 5.
Regards,
Boris -
How to display a goal line in a Flash 2D Line Chart?
Hello,
I am using Apex 3.0.1 and have a Flash 2d Line Chart displaying a ratio that varies from 1.0 to 1.6 for every month for a year. I need to draw a goal line at 1.2 to show the goal for the ratio. Also, I have grid lines enabled for the y-axis.
Any pointers/tips on how to accomplish displaying this goal line would be really useful.
Thanks and Regards,
DevI'm having the same problem!
APEX is relatively new to me. CUSTOM XML for tweaking charts is even more recent. I tried to get a goal line to work in a line chart as you described but I have had no success. I really require a target/goal/reference line in a vertical bar chart but getting it to work in a line chart would be a welcome first step.
I have tried the following 2 samples of code without success:
<objects>
<line value='94' text='Target' text_position='right' color='0xFF3300' size='1' alpha='100'/>
</objects>
and
<objects>
<trend start_value='94' end_value='94' start_argument='' end_argument='' value='' color='0xFF3300' thickness='1' alpha='100'/>
</objects>
==> in the following blocks of the CUSTOM XML:
<chart .....</chart>
<chart..<line_chart .....</line_chart>..</chart>
<workspace> .. <chart_area .....</chart_area> ..</workspace>
<workspace> .. <y_axis .....</y_axis> ..</workspace>
<workspace> .. <grid> ..<values .....</values ..</grid> ..</workspace>
<workspace> .. <grid> .....</grid> ..</workspace>
Any idea where I am going wrong or what could be missing? Maybe I'm not putting the <objects> parameters in the correct place in the code?
System Info:
Product Build: 3.0.1.00.07
NLS_CHARACTERSET: WE8MSWIN1252
DAD CHARACTERSET: UTF-8
JOB_QUEUE_PROCESSES: 10
Database Version Information
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
Thanks for any help!
Lawrence -
Suppression of nulls in Flash line graph
I am running APEX 3.0.1. I have an application that displays a 2D Flash line chart of a time series of 4 variables as 4 different colored lines. This works quite well. In some cases one of the variables is null (data is not yet available). Currently, my Flash chart shows the variable going to zero if that variable is null. Instead, I would like my chart of that variable to stop at the last reported value, showing a break in the line when the variable is null.
Any suggestions (custom XML, a chart setting change, etc) would be gratefully appreciated.
Alvin SteeleAlvin,
This was requested by several APEX users, and the behavior will be updated for APEX 3.1. In APEX 3.0.1, I don't think there's much you can do without generating the XML entirely yourself using a custom procedure or process.
You can check that 3.1 will work as you expect by testing on the Evaluation instance ( http://forums.oracle.com/forums/ann.jspa?annID=647)
- Marco -
Chart Web Part to not plot zeros on a line graph
Hi all,
Is it possible to not plot zeros on a line graph?
I have a line chart with days of the current month along the x-axis and a value on the y-axis. I have a series representing a forecast as a line that will show what the values along for the whole month should be and a second
line chart series representing the actual. This tells the reader how the actual is tracking against the forecast. The data is based on an excel table.
Currently when the latest value is set the line skews back to 0. I don't want this shown, I just want it left blank. On excel you can change the zeros to na() and the line graph will not plot, however, if I leave them as na() in the source data, the whole
column wont be imported in the chart wizard.
Any ideas?
Thanks
AndyIt's true -- the RangeBar chart type only has two field options (X and Y) while the RangeColumn correctly has an addtional Y field. The RangeBar chart should obviously have two X fields if it's supposed to plot a range, as the name and example image indicate.
Neither this thread or the one linked has led to an answer. Can this be fixed? -
Growing chart line, Flash CS4
Hello,
I want to make a growing line. Therefore I have an object without outlines that is angled like a stock exchange chart line. The object is imported (copy paste) from Illustrator.
I tried with shape tween with the same object form (not the same object) but different colour gradient (blue/white to solid blue). But this didn't do the trick. Looks more like changing the alpha value.
I want something like this (Last animation, yellow line).:
http://www.dundas.com/Components/Products/chart/NET/Why/WhitePapers/Animation.aspx
How can I realise this with flash? Is there a tutorial?
P.S.: I don't get the forum search. How can I search through just the flash forum?
Thanks,
SlodomirThanks for the answer.
The Problem is that I have multiple lines which overlay themselves.
I tried this:
I created two layers. In both I pasted the line. The line above is white, the one below is blue. But I can't manage to shorten the white line by cutting parts off. I just can compress the whole white object. Is there a function for trimming an object? -
Two line graphs in a single chart
Hello Experts,
I am having set of values each for one line graph.
But I want to plot these two graphs in a single chart.(2 line graphs in a single chart)
Please help me how to plot?
Regards,
Apex UserHi,
Your query needs to return data in this format:
link label value1 value2
null 01-JAN-10 5 6
null 01-FEB-10 3 6
null 01-MAR-10 2 5where 'value1' column will be the first series, 'value2' column will be the second series, etc.
So you SQL query will need to be something like:
select
null link,
created_month label,
sum(value1) value1,
sum(value2) value2
from table
group by
created_monthAmanda
Maybe you are looking for
-
Can no longer connect to networks
I have a C55D-B5242 and am suddenly having issues connecting to wireless networks. This worked fine until a few days ago and now will not connect. The only message it says is "can not connect". Trouble shooting does nothing. Connected through an ethe
-
Call a Webservice method from DotNetApplication
Hi all, I have created One web service using Axis. My WebServices are below: import java.util.*; public class NHLService { HashMap standings = new HashMap(); public NHLService() { // NHL - part of the standings as per 04/07/2002 standings
-
10.4.9 and DHCP related problems
Hi, This behavior has happened twice since I updated to 10.4.9, before the 10.4.9 I had never experienced this fault. Without any warning I have lost the network connection, with further analysis I noted that my PowerMac G4 could not get IP address f
-
Adobe Plugin not working in Protected mode
We have an adobe plugin for our application. The plugin creates a toolbar button in Adobe and on clicking this button, it invokes one of the form from our application to save the document record for the PDF file in the database. The plugin was workin
-
Unplugged my iPhone in the middle of a software update-HELP!
I unplugged my iPhone while I was updating the latest software available for the phone on iTunes. Now my phone will not come on, all I see is a graphic with the iTunes symbol and the USB cord (to plug in my phone to iTunes). I do not have iTunes on m