Non uniform intervals in the X-axis of LineChart
Hi,
I am using a Flex3 Line chart which takes data from an External XML file.
But I dont get the DataTip points correctly if i give some numeric values in the X values and
even then, the values in the X-axis starts from the "0"th position and the interval between the "0"th & 1st value (in X axis) is half of the others (shown in red bar in the attached image) and also for the last one.
How to have the uniform intervals in the X-axis so that the DataTip shows correct values as in the data?
Below is the MXML & the XML I use:
The MXML:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="100%" backgroundColor="0xFFFFFF" creationComplete="fetchData();">
<mx:HTTPService id="myServ" url="TempChartData.xml" fault="faultHandler(event)"/>
<mx:Script>
<![CDATA[
import mx.controls.Alert;
import mx.rpc.events.*;
import mx.controls.ToolTip;
//Trigger the HTTPService to fetch data from the back-end
public function fetchData():void
myServ.send();
public function faultHandler(event:FaultEvent):void
Alert.show(event.fault.message);
]]>
</mx:Script>
<mx:LineChart id="myChart" width="100%" height="100%" showDataTips="true" dataProvider="{myServ.lastResult.tasks.task}">
<mx:horizontalAxis>
<mx:CategoryAxis id="myHorzAxis" categoryField="name" title="My Tasks"/>
</mx:horizontalAxis>
<mx:verticalAxis>
<mx:LinearAxis title="My Data Values"/>
</mx:verticalAxis>
<mx:horizontalAxisRenderers>
<mx:AxisRenderer axis="{myHorzAxis}" labelRotation="45"/>
</mx:horizontalAxisRenderers>
<mx:series>
<mx:LineSeries id="myLineSeries1" xField="name" yField="Value">
</mx:LineSeries>
</mx:series>
</mx:LineChart>
</mx:Application>
TempChartData.XML
<?xml version="1.0" encoding="utf-8"?>
<tasks usl="25" lsl="-75">
<task name="1">
<Value>-115</Value>
</task>
<task name="2">
<Value>-112</Value>
</task>
<task name="3">
<Value>-100</Value>
</task>
<task name="4">
<Value>0</Value>
</task>
<task name="5">
<Value>-74</Value>
</task>
<task name="6">
<Value>0</Value>
</task>
<task name="7">
<Value>-67</Value>
</task>
</tasks>
Please do not post VIs with infinite loops (at least without informing us that they work that way)! The loop should have a stop button on the front panel wired to the stop terminal in the loop. If you use the Abort button to stop the VI, the file never gets closed.
A long time Forum participant has said that: "Using the Abort button to stop a VI is like using a tree to stop a car. It works but may have unintended consequences!"
To get the format you want after reading you need to convert the first column in the spreadsheet file from a date-time string to a numeric which can be interpretted by the graph as a timestamp. With the format you have chosen for the file it is somewhat complicated. Spend some time reading the detailed help for the timestamp and string format functions.
In the VI attached the file is read as string. The first column is separated into 7 numerical values to create a date-time record (cluster) which is then converted to a timestamp and then to DBL. The second column is converted to an array of DBL. The arrays are bundled and connected to an XY graph. The graph X-Axis is formatted as Absolute Time, AM/PM, HH:MMS. You can add the fractional seconds if you want but the scale starts to get crowded.
Also, the error out wires from the property nodes used to initialize the graphs should be wired to the loop to assure that they execute first.
Lynn
Attachments:
test_3.2.vi 26 KB
Similar Messages
-
Logical intervals on the x-axis
Ok, this is what I'm trying to do:
I'm trying to make a graph that shows dissolved oxygen content at different distances from the source of a river. the 'y' axis is working well, going up in a logical, 2 ppm intervals. But the x-axis - the one I'm using for distance from source, is labeled at the distances I've keyed in, rather than going up in say 500m intervals. How to I get it so that the x-axis goes up in 500m intervals and shows the readings from my 7 sites (which are at odd intervals) along that logical axis?
Confused question maybe, but can anyone help???
Thanks!!Hi Thomas,
From your description, I'd say that you are using one of the Category Charts. These charts plot a numeric value against a text description. If you think you have numeric values on the X-axis, Numbers is still treating them as text descriptors. To get interpolation on the X-axis, use the Scatter Chart option. With Numbers '08, this will limit you to symbols, with no connecting lines. In Numbers '09 this limitation has been addressed and Scatter Charts can have lines connecting the data points.
Regards,
Jerry -
Scaling of the x-axis on LineCharts
Hello everyone,
I'm working on using a LineChart to display incoming temperature readings from an embedded device and so far it's working very nicely, but I'm hoping someone can help me with one small problem I'm having.
I build an ArrayCollection of the temperature readings, including a timestamp of when the reading was received using a Date object, which is then used as the dataProvider for my LineChart. The vertical axis is plotted correctly, but readings are plotted evenly-spaced on the horizontal axis even though readings are not made at regular time intervals.
For example, if I received a reading at 1 minute, 2 minutes, and 35 minutes, the three temperatures would be evenly spaced on the horizontal axis. I want the horizontal axis to accurately represent the time frame of the readings received, so that with the previous readings there would be two points very close to the left hand of the horizontal axis and a single point plotted much further away.
I seem to be having trouble explaning this clearly so here is a quick sketch I made of the situation:
Thank you so much in advance for your help!
Sincerely,
Tom Morrisey
Diversified Control, Inc.Hi,
Set the interval for Horizontal axis with minInterval and Max Interval
<mx:LineChart id="chart" dataProvider="{arr}">
<mx:series>
<mx:LineSeries yField="Y" xField="X" >
</mx:LineSeries>
</mx:series>
<mx:horizontalAxis>
<mx:LinearAxis interval="2" minimum="0" maximum="40" />
</mx:horizontalAxis>
</mx:LineChart> -
Printing Non-Work Intervals (Necking)
Hello,
I have enabled the Activity non-work intervals in the Bar Necking Settings within Bar Settings. Although the 'necks' appear on screen, they do not appear in a PDF printout or a regular print. Is there a setting or workaround for this issue?
Please advise.
Thanks!AMA,
You've stumbled upon yet another P6 glitch. We use a couple of tricks to attempt to overcome problems like these.
1. Before printing, Move your cursor onto the right hand side of the screen (gantt chart) and scroll down the entire schedule..then select print preview & print.
2. Try increasing the row height on those "necked" activities.
3. Make sure that you have both "bar necking settings" checked within the "format bars" menu
FYI, we use the remaining bar located on row #1 to display our necked activities.....This seems to work for us when publishing in Adobe pdf formats.
Good luck,
Hope this helps -
Hi,
By default, the x-axis in Java 3D runs from left to right. Does anyone know of a way to change this so that the x-axis runs from right to left?
ThanksI think you can use setScale for a non-uniform scaling, so you would use -1.0 , 1.0 , 1.0 , this would essentially be a mirror effect. Careful here, since your axes would no longer obey right hand rule, probably you could flip more than the x-axis to get the desired coord system you are shooting for.
-
Changing the x-axis crossing point on a log y-axis
Is it possible to change the point at which the x-axis crossing a log y-axis?
I'd like the origin to be 0.1, not 1, and I'm losing hours of my life trying to work out how to do it.
Hopefully it will be something easy that I have missed...
...I'd rather look foolish than buy Microsoft office.I have another idea for you.
1) Multiply all of your numbers by 10 or whatever factor of 10 (i.e., 100 , 1000, etc.) is necessary so that none of them are smaller than 1.
2) Take the LOG of those new numbers.
3) Plot the result of (2) using a linear Y axis. Get your chart looking like you want it with the min, max, and number of Y axis gridlines you want. Each number on the Y axis needs to be an integer, no decimals.
4) Choose a custom format for the Y axis numbers. Delete the format that is there and add a new format for each of the numbers on the axis. For example, lets say you multiplied by 100 in the first step above. The gridline with the number "0" should really be "0.01" so make a format for "if value is 0" and type in 0.01 as the format. Repeat for the other numbers (1 becomes 0.1, 2 becomes 1, 3 becomes 10 ,etc).
Again, kind of a pain. I think I like this solution better, though. The chart looks better in the end and you can do multiple data series on the same chart. -
Groups having non-overlapping intervals
Hi there,
I need help on some mind boggling overlap problem, or perhaps non-overlap problem.
Having the sample data below, I need to put together subcodes in groups having non-overlapping
intervals [MIN_VAL;MAX_VAL[
I have this table:
SQL>create table t (product varchar2(1) not null
2 ,subcode number(1) not null, constraint subcode_chk check (subcode >= 0)
3 ,min_val number(2) not null, constraint min_val_chk check (min_val >= 0)
4 ,max_val number(2) not null, constraint max_val_chk check (max_val >= 0)
5 ,constraint t_pk primary key (product, subcode)
6 ,constraint t_val_chk check (min_val < max_val));
Table created.
SQL>
SQL>insert into t (product, subcode, min_val, max_val) values ('A', 0, 0, 99);
1 row created.
SQL>insert into t (product, subcode, min_val, max_val) values ('A', 1, 0, 99);
1 row created.
SQL>insert into t (product, subcode, min_val, max_val) values ('A', 2, 18, 67);
1 row created.
SQL>insert into t (product, subcode, min_val, max_val) values ('A', 3, 20, 65);
1 row created.
SQL>insert into t (product, subcode, min_val, max_val) values ('A', 4, 0, 99);
1 row created.
SQL>insert into t (product, subcode, min_val, max_val) values ('A', 5, 45, 60);
1 row created.
SQL>insert into t (product, subcode, min_val, max_val) values ('A', 6, 20, 40);
1 row created.
SQL>insert into t (product, subcode, min_val, max_val) values ('A', 7, 0, 99);
1 row created.
SQL>insert into t (product, subcode, min_val, max_val) values ('A', 8, 60, 65);
1 row created.
SQL>insert into t (product, subcode, min_val, max_val) values ('A', 9, 0, 99);
1 row created.
SQL>commit
2 /
Commit complete.
SQL>
SQL> select product, subcode, min_val, max_val
2 from t
3 where product = 'A'
4 order by product, subcode;
PRODUCT SUBCODE MIN_VAL MAX_VAL
A 0 0 99
A 1 0 99
A 2 18 67
A 3 20 65
A 4 0 99
A 5 45 60
A 6 20 40
A 7 0 99
A 8 60 65
A 9 0 99
10 rows selected.
SQL>The records of interest are subcodes 5,6,8 since they in certain cases can be considered as one subcode.
It is OK, that MAX_VAL of one record = MIN_VAL of other record. The main thing is that the subcodes
within a group are mutual disclosing on MIN_VAL, MAX_VAL.
SQL> select product, subcode, min_val, max_val
2 from t
3 where product = 'A'
4 and subcode in (5,6,8)
5 order by min_val;
PRODUCT SUBCODE MIN_VAL MAX_VAL
A 6 20 40
A 5 45 60
A 8 60 65
SQL>I have started out by trying to solve it using lag/lead analytical functions, but without luck.
Next, I've come up with this hierarchial query, but I don't quite understand it myself, and that bothers me!
SQL> select distinct -- This, distinct, bothers me!
2 product
3 ,subcode
4 ,min_val
5 ,max_val
6 -- ,connect_by_isleaf
7 -- ,connect_by_root subcode
8 from t
9 where connect_by_isleaf = 1 -- Why does this help me?
10 start with -- This, start with, seems "clumpsy"
11 min_val in ( select min_val
12 from t
13 group by product, subcode, min_val)
14 connect by nocycle -- This, nocycle, really bothers me!
15 min_val > prior min_val
16 and max_val <= prior max_val
17 and product = prior product
18 and subcode <> prior subcode
19 order by product
20 ,subcode
21 ,min_val
22 ,max_val;
PRODUCT SUBCODE MIN_VAL MAX_VAL
A 5 45 60
A 6 20 40
A 8 60 65
SQL>Currently I'm struggling with just identifying the three subcodes. In the perfect world this would be better output
PRODUCT SUBCODE MIN_VAL MAX_VAL GROUP_FLAG
A 0 0 99
A 1 0 99
A 2 18 67
A 3 20 65
A 4 0 99
A 5 45 60 1
A 6 20 40 1
A 7 0 99
A 8 60 65 1
A 9 0 99Or even better, if using herarchial query:
PRODUCT SUBCODE MIN_VAL MAX_VAL ROOT_SUBCODE
A 0 0 99 0
A 1 0 99 1
A 2 18 67 2
A 3 20 65 3
A 4 0 99 4
A 5 45 60 6
A 6 20 40 6
A 7 0 99 7
A 8 60 65 6
A 9 0 99 9Any help and inspiration would be much appreciated. But please don't get offended if I don't follow up the next 12-14 hrs.
Regards
Peter
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64biEdited by: Peter on May 19, 2009 12:52 PM
- Changed line 15 in hierarchial queryBrillant as always, Frank. Ten points and mange tak for you.
(1) What is your concept of "group" in this problem? In what sense do subcodes 5, 6 and 8 form a group? Is it that they share the quality of not overlapping with some other row with the same product? That is, will there be at most two groups per product: rows that overlap with every other row, and rows that don't?By group I mean, that when isolated from other subcodes, a group does not overlap. For product A, I have 10 different subcodes. In certain situations I'm allowed to consider 5,6 and 8 as one, since they don't overlap. In general the data presented results in 8 groups, 7 groups having 1 subcode, 1 group having 3 subcodes.
(2) What you mean by "mutually disclosing"? Is it that the min_val to max_val ranges do not overlap?Yes. They are however allowed to be equal.
As to your query. Seems you're right, it might actually be that "simple". I changed slightly, allowing >= and <=
SQL> SELECT m.*,
2 CASE
3 WHEN
4 EXISTS (
5 SELECT NULL
6 FROM t
7 WHERE product = m.product
8 AND ( min_val >= m.max_val
9 OR max_val <= m.min_val
10 )
11 )
12 THEN 1 END group_flag
13 FROM t m;
PRODUCT SUBCODE MIN_VAL MAX_VAL GROUP_FLAG
A 0 0 99
A 1 0 99
A 2 18 67
A 3 20 65
A 4 0 99
A 5 45 60 1
A 6 20 40 1
A 7 0 99
A 8 60 65 1
A 9 0 99
10 rows selected.
SQL>
This assumes that min_val <= max_val on each row.Your assumption is perfectly correct, as expessed in check constraint on table t.
>
The rest of this message concerns the CONNECT BY query you posted, in case you want to understand it better.
When I run the CONNECT BY query you posted, I get these results:
P SUBCODE MIN_VAL MAX_VAL
A 0 0 99
A 1 0 99
A 4 0 99
A 5 45 60
A 6 20 40
A 7 0 99
A 8 60 65
A 9 0 99
Ouch, my bad. Somehow I posted the wrong query. I have edited line 15 from
15 min_val >= prior min_valinto
15 min_val > prior min_val
The START WITH clause includes all rows: you might as well not have a START WITH clause:
10 start with -- This, start with, seems "clumpsy"
11 min_val in ( select min_val
12 from t
13 group by product, subcode, min_val)
That's great, somehow I was misled to believe that wew should always have a START WITH.
Thank you for your remainding comments on hierarchial query. I'll definitely have to play around with it to fully understand. With the edit mentioned, and
without a START WITH it now looks as,
SQL> select distinct -- This, distinct, bothers me!
2 product
3 ,subcode
4 ,min_val
5 ,max_val
6 from t
7 where connect_by_isleaf = 1 -- Why does this help me?
8 connect by nocycle -- This, nocycle, really bothers me!
9 min_val > prior min_val
10 and max_val <= prior max_val
11 and product = prior product
12 and subcode <> prior subcode -- Not necessary
13 order by product
14 ,subcode
15 ,min_val
16 ,max_val;
PRODUCT SUBCODE MIN_VAL MAX_VAL
A 5 45 60
A 6 20 40
A 8 60 65
3 rows selected.
SQL>One final question. In your solution with EXISTS, you use < and >. In my rewritten example I use <= and >=. It seems that it still works, even without a condition on subcode != m.subcode in the subquery.
Maybe I'm too tired by now, but why is that? - just don't get it
Regards
Peter -
How to change the side of the y axis in numbers ?
I am trying to make a negative only chart (all the x values are negative), thus the y axis has to be on the right, yet it is displayed on the left ! I really need some help please. Thank you !
Hi Rupert,
Here's an alternate method.
Ian's suggestionis the only one I know using a scatter chart, but Numbers also offers a '2-axis' Category chart. It's the last one on the menu in the Charts button, requires two series of Y values, and defauts to a line chart for the first series and a column chart (vertical bar chart) for the second Y series.
The two (Y) axes may have different scales, and may be formatted separately. Here's an example. Instructions below.
The data columns are column B (X values) and column D (Y values).
Because this is a Category chart, the X values must be listed in a header row, where they will be recognized as 'category labels' . As 'categories', they will be evenly spaced along the x axis, and wil be ordered left to right in the order they appear (top to bottom) in column A of the table.
2-Axis charts require a table with two columns of Y data. To provide the second 'data' set, I've added column C, and filled it with zeroes.
To create the chart, select columns C and D, then click the Charts button and select the Two-Axis chart.
With ther chart selected, open the Chart Inspector.
Choose Axis.
Uncheck "Show Values" using the pop-up menu for Value Axis (Y1)
Check "Show Axis" using the pop-up menu for Value Axis (Y2)
Set min and max values and steps to values that will give you integer labels for the Y value grid lines.
Choose Series.
Click on the colour block (on the table) for the dummy series (Y1).
Set Data Symbol to 'none'. Use the Line thickness control in the format bar to set the line thickness to 0.25 pt and the colour to black.
Click on the colour block for the 'real' series. Set the data symbol and size, and the line thickness as desired.
Regards,
Barry -
Error : The Measures hierarchy already appears in the Axis0 axis.
Hello I wrote a simple MDX query and getting the error :The Measures hierarchy already appears in the Axis0 axis.
WITH
MEMBER [Measures].[x] AS
--CASE
--WHEN [Terminals].[Terminal Type Name].[OEM - Over the Counter PC] THEN 'OEM'
--ELSE
-- 'ABC'
--END
[Terminals].[Terminal Type Name].[Terminal Type Name].CurrentName
SELECT
[Measures].[Amount]
ON COLUMNS
NON EMPTY
[Measures].[x]
ON ROWS
FROM [MyAwsomeCube]
mark it as answer if it answered your question :)Hi Parry2K,
Based on your information, you get the "The Measures hierarchy already appears in the Axis0 axis." when executing the MDX query. Right?
In Analysis Services, the measures in MDX are metrics value stored in your Fact Tables. Measures are used to analyze performance of the Business. Measure usually contains numeric data, which can be aggregated against usage of associated dimensions. So in
a MDX query, we can't just have one measure on rows and other measure on columns. In your scenario, the calculated member is a measure, so it will throw the error. you can either change a dimension on columns or put both measure on same axis.
If you have any question, please feel free to ask.
Simon Hou
TechNet Community Support -
How can I make the X axis temporally proportional?
I have a very simple line chart with decimal values on the Y axis and dates on the X axis. The dates are one per row in my source spreadsheet but they are not "evenly spaced". How can I make the chart reflect linear time, plotting the date categories irregulary along a smooth timeline?
Look forward to the real experts' comments on chart overlays.
As for date-format for X-axis it took some fiddling for me (sometimes it was greyed out) but it does work.
Either leave it as Same as Source Data or pick Date and Time and choose one of the many formats available, some shorter than the source data format.
I haven't figured out how to make specific dates show up on the axis, e.g. in my example it would be nicer to show mid-month and/or month-end dates. Numbers seems to split into intervals based on the number of Steps, with little (no?) control over where intervals begin/end. -
Dealing With Non Uniform Array Sizes
Would it be possible to store data such as
1 2 3 4 5 6
0 2 4
3 1 4 1 5 9 2 6 5 3 5 8 9
Where each row is not nessicarly the same length. I need to later call a specific row by row number and plot the 1D array. I have figured out arrays wont deal with the non uniform length and will instead fill in the extra elements so they all match in length. Is there any way around this?
ThanksIt is generally better to use Repalce Array Subset or autoindexing to build an array. Insert into Array may cause memory allocation problems. Here are two mnodifications to your VI which show both methods. If you need to see the results as you go, the Replace Array Subset is best. If you do not need the data until the for loop completes, autoindexing is the preferred choice.
Note that you may need to initialize your shift register. Run the VI multiple times and watch the results.
Lynn
Attachments:
Variable Length Arrays.2.vi 15 KB -
Howdy,
I've got some vector objects in Flash that start out real small--like 20-30 pixels square. When I change their position on the Z axis to 'zoom in' on them, the larger they get, the blurrier they get.
When I just tween the x/y size, and not move the z axis they look fine.
For example draw a 20x20 square on the stage.
Convert it to a movie clip so that I can 3D it.
Scale it up to 300 pixels.
Looks fine.
Adjust the Z axis by 1.
Blllluuuurrrrrrrrr.
Did I miss a setting somewhere or is this just a limitation that needs to be worked around?
Thanks in advance,
-TedRothrock, Excellent link, thanks for that! Have some points.
After reading it:
crap.
Looks like I need to learn about hand coding the 3d effects, or using scaling instead and adding switch when I need the z....
Hmmm...that'll require a little mor coffee. -
How do I disable all non-essential components in the CS6 installer
A new question in the spirit of http://forums.adobe.com/thread/548877 and http://forums.adobe.com/message/2778575, where I asked this question for CS4 and CS5 and eventually discovered how to do this (at least for CS4; CS5 was a mess...): How do I disable all the non-essential components in the Photoshop CS6 installer?
I already found the payloads/Media_db.db sqlite 3 database and wiped the DependencyData table. This goes a long way - unlike CS5, which was a maze of hidden xml configs and sqlite databases, for CS6 just wiping this single table will give the user full control over what the installer will put in the computer. With the dependencies wiped, we can now see all the stuff it's actually going to install:
Bridge (normal and x64) - 187 and 262 MB
CMaps (normal and x64) - 7.2 and 7.2 MB
CSXS Extensions - 1.3MB
CSXS Infrastructure - 6.8MB
Color - photoshop, EU, JA, NA - 1.5, 2.1, 3.0, 2.5MB
Video profiles - 4.7KB
Dynamic Link Media Server - 96MB
DynamicLink Support - 6.1MB
ExtendScript Toolkit - 19MB
Extension Manageer - 16MB
Fonts recommended (normal and x64) - 110 and 110MB (why are there x86 and x64 versions? more of an open question than one that really needs an answer, but this is not how fonts work. There are no separate x86 and x64 flavoured OpenType fonts)
Fonts required (normal and x64) - 123 and 123MB
Hunspell Linguistics Plugin (normal and x64) - 181 and 181MB
Linguistics (normal and x64) - 46 and 46MB
Mini Bridge (normal and x64) - 4.0MB
PDF Library Files (normal and x64) - 75 and 75MB
Photoshop (normal and x64) - 486 and 563MB
Photoshop Support - 9.4MB
Player for Embedding 3.3 (normal and x64) - 21 and 26MB
Switchboard 2.0 - 1.1MB
Type Support (normal and x64) - 6 and 6MB
Winsoft Linguistics Plugin (normal and x64) - 8.2 and 8.5MB
XMP Panels - 4.9MB
ColorCommonSetCMYK - 13MB
ColorCommonSetRGB - 8.6KB
Camera Profiles Installer - 285MB
MSVC++2005 redist. (normal and x64) - 11 and 11MB
MSVC++2008 redist. (normal and x64) - 11 and 11MB
MSVC++2010 redist. (normal and x64) - 11 and 11MB
MSVC80_CRT (normal and x64) - 0.0 and 0.0KB
PDF Settings - 2.4MB
Camera Raw 7 (normal and x64) - 22 and 24MB
Suite Shared Configuration - 3.2MB
Some of these things we really want installed (Photoshop, CMaps, XMP panels, Type Support and required fonts and color profiles are pretty much the minimal set required for a functional Photoshop installation), but some of these things really have no right to be silentedly installed. There's a good gigabyte of nonsense that someone who just wants Photoshop has no need for. Denying them the option to unselect these things during installation is a bit evil (whatever happened to the 'advanced' or 'custom' installation option? That was a good option).
That said, there's still something funky going on - unselecting all components indicates that the installation will required 0.0KB on disk. However, selecting Photoshop CS6 x64, which indicates its size is 563MB, results in an installation that requires 677MB on disk. Similar things happen for other components; CMaps is 7.2MB, but when you select it, it suddenly requires 121MB on disk.
Much last last time, I fully appreciate the install team's choices in making sure the installer will always work as long as people don't tamper with it, but I'm not one of those people - I do tamper with it, because I want to control exactly what lands on my disk. So: how do I find out what these secret things are that are not listed after wiping the dependency data so that I can explicitly pick individual components? Which additional steps are required to reveal the hidden dependencies that will apparently still be installed, or aren't factored into the size indication for the various components? And finally, how do I make the installer NOT determine that "this is not a genuine installer, you may have a counterfeit product" =)
I know it's been altered; I modified it, because I think your install process is trying to force stuff onto my computer that I never asked for, nor will ever use (I know they're quality products, they just have no right to exist on my computers. If I had the choice to say no, I'd acknowledge them as quality products instead).
- Mike Kamermans
nihongoresources.com
NB: if Eric Wilde ends up replying to this post: I still remember your willingness to help figure this out for CS5, two years ago. Thank you again for that.I can see why you wouldn't want to release information that lets people set up arbitrary installers, but that's why I mostly wanted those two specific hashes. The installer team can just generate them without ever saying how, and we will only be able to use them to validate the installer for the modification that lets you pick components. This should in no way interfere with the desire to prevent dangerous installers making it into the wild; in fact, it kind of guarantees that's impossible.
I know you can't guarantee it'll work or test it, and that's fine. Past experience has shown that CS3, CS4 and CS5 work fine with updates (and most updates don't apply to Photoshop, they apply to the additional components that I traditionally don't install), so I'm pretty sure it'll work fine with CS6 too, although of course it could go wrong in which case I can always fall back to a normal install.
Would you be willing to ask the install team whether they could generate just these two numbers, based on the single SQL command run on Media_db.db from the main payload directory? I can fully understand not wanting to give the "here is how you generate the hashes" information, but generating two specific numbers that don't work for anything but this specific query should be just as safe as the various hashes we can already see for the other Media_db.db files in the various payload directories (so they wouldn't reveal anything not already known about how to reverse engineer the hashing algorithm). It'd help tech-savvy customers quite a bit without playing into the hands of criminally minded jerks (I actually had the pleasure of running into a duped CS3 Extended disc several years ago! I had ordered CS3 for personal use, and mysteriously received a CS3 extended version with a volume licensing key in what looked like an official normal CS3 box. Needless to say, authorities and Adobe were notified).
<<I think the right answer to this issue is to simply remove from the products those items that are not required to execute the product. That's actually something we're aggressively pursuing this summer so that the product size reduces in future releases, particularly for PS.>>
It's not possible to take components out of the payloads directory without the installer complaining that errors have occurred. It really wants all those files there when it starts =(
<<Have you investigated using AAMEE? I don't think that will get rid of all the "extraneous" pieces; but, it does provide some flexibility in creating an install package that can then be pushed out through normal deployment tools (e.g. SCCM).>>
I did, but unfortunately AAMEE requires the use of a volume license key, which I don't have. We only have individual products keys for the machines that will get Photoshop CS6.
- Mike -
Hi,
I'm just about getting to grips with Numbers, but I'm stumped at the moment with this problem.
I want to show zero at the top on the (y) axis, as zero is the goal and 100 is the starting point?
can it be done? i would really appreicate some help on this.
Kind regards
RobIs it so difficult to read given answers ?
Barry described the correct scheme.
In the table "to_chart", the cell A1 contains :
=ROUNDUP(ABS(MIN(Tableau 1 :: B:E))/10,0)*10
The cell B2 embed the formula :
=$A$1+Tableau 1 :: B2
Apply fill down and fill to the right.
On the left edge, the colored rectangle is a text block in which I inserted the label values.
Of course if you dislike this scheme, you are perfectly free to use an other application.
Yvan KOENIG (VALLAURIS, France) lundi 4 juillet 2011 14:37:56 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
Please : Search for questions similar to your own before submitting them to the community
To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer ! -
How to add exactly 2 NON XML caracters at the end of a SOAP body
Hello all I am trying to add two (and only two) extra non xml caracters "AA" at the END of a SOAP body using the JAXWS handlers as so:
HTTP/1.1 200 OK
Content-Type: text/xml;charset=UTF-8
Content-Length: 131
Content-Length: 131
Server: Jetty(7.x.y-SNAPSHOT)
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body></SOAP-ENV:Body></SOAP-ENV:Envelope>
AA
The problem is that if you try to add them to the SOAP body (see code below) you get a XML Unmarshalling exception. If I add "AA" as a soap attachment I get MORE than 2 caracters after the SOAP body (which I don't want)
Here is the my SOAPHandler code :
@Override
public boolean handleMessage(SOAPMessageContext mc) {
if (Boolean.TRUE.equals(mc.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY))) {
try {
SOAPMessage message = context.getMessage()
String stringSoapMessage= getMsgAsString(message);
stringSoapMessage += "ss";
message.getSOAPPart().setContent((Source) new StreamSource(new ByteArrayInputStream(msg.getBytes())));
message.saveChanges();
context.setMessage(message);
} catch (Exception e1) {
return true;
public String getMsgAsString(SOAPMessage message) throws SOAPException {
String msg = null;
try {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
message.writeTo(baos);
msg = baos.toString();
} catch (Exception e) {
e.printStackTrace();
return msg;
so my question is this: is there any way to add exactly 2 non xml caracters at the end of the soap body using jaxws handlers ? I have spent several weeks on this so it is not an easy question...
Thanks,
Fred.Yes I have done it using CFX interceptors. But the runtime dependencies needed were too big for this particular use. I mean having to use these:
apache/cxf/cxf-bundle/2.6.0/cxf-bundle-2.6.0.jar
org/apache/neethi/neethi/3.0.2/neethi-3.0.2.jar
wsdl4j/wsdl4j/1.6.2/wsdl4j-1.6.2.jar
/org/codehaus/woodstox/wstx-asl/3.2.4/wstx-asl-3.2.4.jar
org/apache/ws/xmlschema/xmlschema-core/2.0.2/xmlschema-core-2.0.2.jar
org/mortbay/jetty/jetty-util/6.0.2/jetty-util-6.0.2.jar
org/eclipse/jetty/jetty-util/7.5.4.v20111024/jetty-util-7.5.4.v20111024.jar
org/apache/geronimo/specs/geronimo-servlet_2.5_spec/1.1.2/geronimo-servlet_2.5_spec-1.1.2.jar
org/apache/geronimo/specs/geronimo-javamail_1.4_spec/1.7.1/geronimo-javamail_1.4_spec-1.7.1.jar
org/apache/geronimo/specs/geronimo-servlet_3.0_spec/1.0/geronimo-servlet_3.0_spec-1.0.jar
org/eclipse/jetty/jetty-http/7.5.4.v20111024/jetty-http-7.5.4.v20111024.jar
org/eclipse/jetty/jetty-server/7.5.4.v20111024/jetty-server-7.5.4.v20111024.jar
org/eclipse/jetty/jetty-io/7.5.4.v20111024/jetty-io-7.5.4.v20111024.jar
org/eclipse/jetty/jetty-continuation/7.5.4.v20111024/jetty-continuation-7.5.4.v20111024.jar
to add two caracters at the end of a soap message seems like over kill. If this is the only way to do this then i'll do it this way but it just seems like the implementation of the JAXWS API in JDK 6 seems inches away from being able to do this no ?
Thanks for the replies,
Fred
Maybe you are looking for
-
Two profit centers in same plant for one material
Dear All We have this request from a customer. There is a material in 1 plant but need to track that same materials in 2 different cost elements depending on where these are used (e.g. for sales will be booked to profit center 1 and demo will be book
-
SecurityError #2148 in nightly builds
Hello all, I have little doubt that I've done something daft here, or completely missed a piece of documentation somewhere pertaining to using nightly builds, but I'm getting a security error when I try to build my Gumbo application with a nightly bu
-
Calling java application from servlet using servletexec servlets
We are using servletexec 3.0,IIS 5.0, sun Java SDK 1.3.1_12. I have a servlet which works fine. This servlet is being called from the submit of the form in a html file. It works fine. But now i have to use a third party credit card application from m
-
Please Help me:0My Shuffle says it's "stuck in recovery mode"
Help
-
There's a new Pro App Update...
But it may be only for Final Cut users. I can't tell. You can find it Here. Have a nice day! X