Color change in Halfgauge (Dynamic Graph)

Hi all,
i am using halfgauage dynamic graphs, my requirement is to swap the color form red to green and green to red as i tried all possibilities in animation link but i am not getting.
thanks
praveen

Hi Praveen.
You need to create a variable of type color and then map this to the desired element in the SVG image through animation link.
You can create two color variable for red and  green and while mapping it in svg image you can write rule and assign proper color reference.
Hope this will help.
-- Ketan

Similar Messages

  • Changing graph type, color change

    Why when I change the type of graph it changes the colors automatically. I had blue, green, red (in the 3d fills) for a bar graph respectively representing 2009,2010,2011. I am adding this year I wanted to switch to a line graph - why are the colors changing auto to add a yellow and making 2012 red? How can I stop this? I find it quite difficult to change the colors of all the lines/symbols using the 3D fills, actually it doesn't work very well @ all, so I would prefer not to have to do this for 10 graphs per client @ 5 clients. Is there a more efficient way to accomplish this?
    Also brings me to my next question. I was attempting to use the copy style, paste style function with the graphs - to ease the pain of all of this. When I do that it only pastes the axis scale (exactly what I don't want copied)! Is there a way to c&p the STYLE...the colors, weight, and data symbols of the lines. Therefore if I must do all the color change manually I would only have to do it once?
    Thanks so much.

    Here's an example, using a Line Graph.
    The first graph uses the full table, which has a column for each year, and extends to 2017, using 'placeholder data.'
    For the second, all of the data, and the header labels (year) was deleted from the table.
    Not good for presentation (nor was the table with all those empty cells), so columns E (2012) to J were selected and Hidden.
    When data became available for 2012 (ie. about 10 or 11 months from now), the hidden columns were Unhidden, the label and data were entered into column E (2012), and columns F - J were again Hidden.
    I haven't tried this with bar graphs yet. A closer look at the structure of your data and a screen shot of a sample bar graph would be useful in avoiding a 40 day trek through the wilderness.
    Regards,
    Barry

  • Bug: Color change of plot on wrong line

    When changing the color of a plot in a mixed signal graph, there is a graphical issue that the Plot is "previewed" on the line above. Have a look at the screenshots, it's quite obvious.
    We use LabVIEW 9 SP1 and are just changing to 11 SP1, but the bug is in both versions.
    Attachments:
    Graph color bug2.PNG ‏41 KB
    Graph color bug.PNG ‏39 KB

    You're correct, looks like it's only happening if you have only 1 plot area.
    I attached a modified version of the example and another screenshot. Note the 2nd green plot "preview".
    Attachments:
    Mixed Signal Graph test.vi ‏21 KB
    Graph color bug3.PNG ‏102 KB

  • Change Html Title dynamic from Flash

    Hi,
    I want to change the Title of the Html page dynamically from
    the embedded Flash.
    The Title, that appears on Browser bars etc.
    Could I do this?
    On init I can load the Html source code in with LoadVars, and
    onData (src) change the Title with subString method, but, how then
    could I pass the new value back to the Html page, so the Browser
    Title changes?
    Thank you.
    Luciewong

    Thank you both GWD and Dave for the help.
    I know your code works under normal circumstances, just in my
    case, I can't get it to work.
    Because, on a subsequent Frame, called after the
    ExternalInterface.call,
    I have a getURL(javascript) to change the doc. background
    color.
    Now, either the Title changes or the background color
    changes, but both after each other, can't make it.
    I have tried Ext,CallBack function, so when the Title changes
    and callBack is true, move on, but still then it changes the BG,
    but not the title anymore.
    I must do something wrong with the callBack function?
    Thank you for your help.
    Regards,
    Luciewong

  • Color Changes when form field added

    When I add a form filed to a pdf, the color changes on the output of the pdf.
    Print out the attached pdf pages 1 and 3. Look at the green button. It is darker on the pages with the form field(p1) then on page 3. they are the same source file. It like when I add the form field, it changes the page to a CMYK color space and the images are in a RGC Color space.
    Any ideas

    Follow-up:
    One of my colleagues is working on a product feature that involves checkboxes (this is how I came across this issue in the first place). His checkboxes aren't contained within a form element whereas in my test page I described in my question when I removed the form from the page the issue didn't manifest.
    However, the page he's working on does contain other forms so I decided to modify my test page to try to replicate this scenario. I found some really odd behavior.
    If I have a form on a page but the checkboxes are not children of that form, and if I dynamically add a single INPUT element or a single TEXTAREA input, the checked values just disappear on page refresh. That's expected since the lack of a parent form should eliminate the memory of the checkbox values, right?
    Well, when I dynamically add '''both''' an INPUT element and a TEXTAREA element it goes right back to remembering '''and''' moving the checked value, but only by one step. By comparison, if the checkboxes and the dynamically added form fields are contained with a form the checked value will move by a number of steps equal to the number of dynamically added form fields.
    Strange, strange behavior I can't really decode with certainty across the entire range of possible scenarios...

  • Display color changes when I start some applications.

    Hello.
    Today I reinstalled OSX 10.8.1.
    All applications are up2date.
    But some applications like iPhoto have a strange behavior. When I start them, the display color changes. It looks like it has a blue fog.
    As soon as I close the application it's back to normal. Only happens for a few applications.
    In the console I see the following entires when I start the application and the display changes:
    11.09.12 23:06:22,777 WindowServer[86]: Received display connect changed for display 0x42728c0
    11.09.12 23:06:22,806 WindowServer[86]: Received display connect changed for display 0x3f003d
    11.09.12 23:06:22,806 WindowServer[86]: Received display connect changed for display 0x3f003e
    11.09.12 23:06:22,808 WindowServer[86]: CGXMuxAcknowledge: Posting glitchless acknowledge
    11.09.12 23:06:22,809 SystemUIServer[7841]: DisplayReconfigurationCallback
    11.09.12 23:06:22,809 SystemUIServer[7841]: DisplayReconfigurationCallback
    11.09.12 23:06:22,809 SystemUIServer[7841]: DisplayReconfigurationCallback
    11.09.12 23:06:22,810 SystemUIServer[7841]: DisplayReconfigurationCallback
    11.09.12 23:06:22,813 WindowServer[86]: MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x042728c0 device: 0x10eb0f320  isBackBuffered: 1 numComp: 3 numDisp: 3
    11.09.12 23:06:22,847 WindowServer[86]: Received display connect changed for display 0x42728c0
    When I close the app I see:
    11.09.12 23:06:48,405 WindowServer[86]: CGXSetWindowListAlpha: Invalid window 0
    11.09.12 23:06:49,406 Dock[4503]: CGSReleaseWindowList: called with 7 invalid window(s)
    11.09.12 23:06:49,885 com.apple.ShareKitHelper[569]: --warning: [ShareKit-XPC] Received XPC_ERROR_CONNECTION_INVALID
    11.09.12 23:06:49,885 com.apple.ShareKitHelper[569]: --warning: [ShareKit-XPC] connectionWithClientInterrupted
    11.09.12 23:06:49,885 com.apple.ShareKitHelper[569]: --warning: [ShareKit] Cancel UI for running services with Client PID: 8433
    11.09.12 23:06:49,915 WindowServer[86]: Received display connect changed for display 0x42728c0
    11.09.12 23:06:49,960 WindowServer[86]: CGXMuxAcknowledge: Posting glitchless acknowledge
    11.09.12 23:06:49,961 SystemUIServer[7841]: DisplayReconfigurationCallback
    11.09.12 23:06:49,962 SystemUIServer[7841]: DisplayReconfigurationCallback
    11.09.12 23:06:49,962 SystemUIServer[7841]: DisplayReconfigurationCallback
    11.09.12 23:06:49,962 SystemUIServer[7841]: DisplayReconfigurationCallback
    11.09.12 23:06:49,973 WindowServer[86]: Received display connect changed for display 0x42728c0
    11.09.12 23:06:49,974 WindowServer[86]: Received display connect changed for display 0x3f003d
    11.09.12 23:06:49,974 WindowServer[86]: Received display connect changed for display 0x3f003e
    Any idea what the problem might be?
    Thanks
    Dan

    I had the same problem early on in Mountain Lion - whenever an application kicked in that used the discrete GPU, the screen would get a bluish tint. I 'resolved' the situation by using Cody Krieger's gfxCardStatus and kept the mode on Integrated Only. This, of course, slowed down some applications but, by and large, I was able to live with it. Then one day - just out of the 'blue' - I decided to switch back to Dynamic Switching: and, lo and behold, by blue tint was gone when the discrete GPU kicked in.
    I only know how to temporarily fix the problem - you're one of about a dozen people that have reported it both here and in the Adobe Photoshop users forum. Try the gfxCardStatus 'fix' and then see if the problem doesn't rectify itself after a bit. It wasn't the 10.8.1 update that fixed my problem - it was just a week or so of running on integrated only.
    Let me know if this doesn't work for you...
    Clinton

  • Flash swf componrnt button color changing by flex script

    i have a swf button created in flash which is used in flex.
    the button has got an arrow which is initially black, now i have to
    change the color of that arrow dynamically. i know flex a little
    bit but dont know flash.
    i have the source - fla - file of the swf too, where there is
    a button symbol - the arrow - in the library, but i dont know how
    to access that symbol from flex and change its properties.
    thanks in advance.

    Small detail:
    because you are embedding the swf as a whole, the datatype of
    content is MovieClip. So with your code you are downcasting the
    datatype to DisplayObjectContainer. The inheritance chain:
    MovieClip -> Sprite -> DisplayObjectContainer ->
    InteractiveObject -> DisplayObject -> EventDispatcher ->
    Object
    Your code works because 'transform' is an inherited public
    property of DisplayObject. But if you needed a method like
    gotoAndPlay() the downcast to DisplayObjectContainer would prevent
    this since gotoAndPlay() is a member of the MovieClip class.

  • Drawing a Dynamic Graph Using Java/J2EE Technology

    Dear Friends,
    I have a immediate requirement.
    I have to draw a dynamic graph based on changing statistical data(Stock market appliaction).
    Have a look at finance.yahoo.com.There we can a find a dynamic graph.The x and y axis in the graph will change according to the data it recieves without using refresh option and all ... In a periodic interval of time ,say for every 10 minutes the application have to check whether it has any changes in the statistical data it recieves (the data maybe from database or form anyother application). If it finds any changes ,automatically it should reflect those changes in the graph.
    Please help me out friends . I have been struggling with this over a period of time but am not able to resolve.
    Please provide me with any sample application and code.
    Keeping my fingers crossed.
    Thanks in Advance.

    I don't have example code, but I am sure JFree.org has lots. It's a free chart API for Java, that also works with Servlets etc.

  • ICal Calendar Colors Changing On Their Own; iCloud Connection

    AGGRAVATING PROBLEM:
    Many in this forum have written recently about a problem ongoing for people with multiple iCal calendars where iCal calendar colors change "automatically" when you haven't selected those colors, or even "change back" before your eyes to some color your DIDN'T select after you select a new one.  If you log into iCloud on the Web and try to change the color of certain calendars, they refuse to change.  Try as you might, the color you want for your calendar won't "stick" and it is forced to be the wrong color on all your devices.  In some cases, even the names of some of the calendars cannot be changed.  On other calendars in your list, the colors and names will change fine. 
    Related symptoms:  Calendars you have deleted "come back."   Or, calendars you did not create yourself show up in your calendars list, such as "Calendar" or "Home" or even "Untitled."  Note that the problem seems to be most prevalent with calendars with names "Home," "Work," OR either of these words in the NAME of the calendar.  For instance, "Bob's Work" might get snagged (it can't be deleted without coming back or its color is stuck and "comes back"). 
    I spent a long time on the phone with a helpful Apple senior advanced specialist on this problem today.  We conducted a very large number of "experiments". Our family has two iPads, 2 iPhones, and 2 iMacs, so it was easy to rule things in or out.  I will present some information that may help.
    SOME OF WHAT APPEARS TO BE GOING ON:
    First, Apple has not resolved this.  But the problem appears to be related to iCloud, and NOT to individual devices.  After de-linking all of my individual devices from iCloud, I could change any of the colors or names at will on any given device, create new calendars and then change their colors to whatever I wish, delete calendars, change names...no problem.  However, after re-linking calendars to iCloud, all the problems mentioned above returned.  The chances that my iMacs, iPhones, and iPads are all causing the problem independently is very low. They also have slightly different OS versions on them, so it is not likely an a particular device OS, though that could be indirectly related.  Also, the colors "change back" within about the same time (usually a few seconds to up to 30 seconds) that it takes to do a "refresh" (i.e. an update) to the iCloud servers.  This when iCloud is turned on, and the absence of it when iCloud is turned off (for calendars), strongly suggests that it is the iCloud server and its interaction with your devices that the fundamental cause of the problem.
    Apple has said that they are aware of this problem and their engineers are working on a fix.  Historically, this can mean just a few days, or it could be a few months, years, or "whenever."  They don't give estimates of when it will be fixed.  Exactly WHY this is happening is unclear, but my guess is that it is a modification to the iCloud server code that Apple implemented without testing it thoroughly enough to discover this problem.  Apple does not admit to that, of course and I don't know if I am correct.
    A WORKAROUND SOLUTION THAT WORKED FOR ME:
    Please note this is a workaround and not a full fix.  Apple needs to run a patch on their iCloud server code.  Until then, I did the following which seems to have worked for me for now.  Read the whole list before deciding whether to proceed.  I don't guarantee it will work in all situations.
    Note...I found I was stuck for now with the color of ONE of my calendars.  If you are like me, you want to keep that one and work around it....
    Backup first... Make sure that your iCloud copy of your calendar data has the calendar event information you want to save - even if the color is wrong.  Log in at www.icloud.com and do a refresh to sync to the Cloud.  Check over your calendars online to make sure the event data appears to be there for all of your calendars (even if their color or name is not what you want).
    Steps:
    1.     Go to every device that you have linked to iCloud separately. Go into Settings, iCloud, and then uncheck the "Calendars" option.  This delinks your calendars for that device to iCloud.  As you do this on each device, when prompted, select "Keep On My" ..iPAD...iPhone...iMac... etc.  This will preserve the calendar information on the device so it won't be deleted.  I think this is safer, but you can click on "Delete" if you want, too.  Note - if one of your devices is an iMac, with OSX Lion and before, you may be forced (I was) to delete the iCloud calendars from the iMac.  So again, make sure they are backed up to the Cloud first (or somewhere else).
    3.     With the iCloud Calendars Option on all your devices still turned off, go to the WEB and log into iCloud.com.  You need to figure our which calendar iCloud won't let you change the color for.  You probably already know.  On iCloud.com, click on "Calendars," then click open your calendar list and select "EDIT" at the bottom of the dialog box.  One at a time, click on the color dots next to each calendar name and try to change the color (you can put any back after the test if you want). You will probably see a certain one that just goes right back to what you don't want.  This is the one for which the color is stuck, but you may be able to change the name of it now that your devices are unlinked from iCloud.
    4.     Still in iCloud.com, change the names and colors of any of the other calendars you wish to change.  Delete any empty calendars that mysteriously appeared without your wanting them.  Take note of all the calendars, names, and colors that are on the final list of calendars.
    5.     On EVERY device, BEFORE turning iCloud back on on ANY of them: Change the colors and/or names of calendars, delete calendars, etc. so that the calendar names and colors on the device are exactly the same as what you left in iCloud.com in the last step.
    6.   One at a time on each device, go back to Settings and then "iCloud" and check again the box for "Calendars."  You will be asked whether you want to "MERGE" your data with iCloud.  I selected MERGE to ensure I didn't lose anything.  Link each device again into iCloud one at a time.
    7.  When each device is back, go back to iCloud on the Web, or go into iCAL on one of your devices.  Set to view ALL calendars.  Look for duplicates of some of your events.  I found quite several as an artifact of "merging", but in my case it only took me about 5 minutes to go through quickly and delete the duplicates.  It deleted the duplicates on all of the devices at once, so I only needed to delete dups on one device.  I did not find that I lost any events as long as I kept one valid copy.
    Again, no guarantees...hope this works for others.  Good luck.

    I'm getting the same thing and it's really bugging me! Keeps changing colour to one I do not want and I have tried everything to get it to stay the colour I have chosen!!

  • Report row color change based on condition

    I have follow this forum steps Re: Color Row In Report
    Column Template 1
    <td #ALIGNMENT# class="t1data" style="background-color:#ADD8E6;">#COLUMN_VALUE#</td>
    PL/SQL expression condition
    '#2#' = 'BOOKED'
    Column Template 2
    <td #ALIGNMENT# class="t2data" style="background-color:#FFE87C;">#COLUMN_VALUE#</td>
    PL/SQL expression condition
    '#2#' = 'ENTERED'
    http://img29.imageshack.us/img29/2792/apexcolor.png
    This does color change but for some rows the colors are highlighted wrong and when i mouse over the rows , it changes to wrong color.

    Hi,
    t1Data and t2Data sound like standard theme css class names.
    In my example, the colouring is done by the style attribute on the TD tag. For "normal" rows:
    &lt;td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t18data"&gt;#COLUMN_VALUE#&lt;/td&gt;for highlighted rows:
    &lt;td #ALIGNMENT# headers="#COLUMN_HEADER#" class="t18data" style="background-color:red;"&gt;#COLUMN_VALUE#&lt;/td&gt;Have you defined "t1Data" and "t2Data" in STYLE tags on your page?
    Andy

  • How to calculate the Percent change in a dynamic

    hi All,
    I'm trying to get the percent increase/change of two dynamic
    colums.  In my report, the user has a checkbox where he can select two colums to calculate the percent growth.
    My DataSet is PilarName, Calification(is a decimal value) and Period (this is a string).  I created the Matrix this way:
    PilarName [Period]
    [PilarName] [Calification]
    Which give me these values:
    So, now I need to create another column to calculate the percentage change between these two colums.  I tried this:
    I added a Adjacent column group for Period column and I grouped by the calculated column "ColumnDiff".  Add the following expression.
    =(SUM(Fields!Calificacion.Value)- Previous(SUM(Fields!Calificacion.Value),"ColumnDiff"))/Previous(SUM(Fields!Calificacion.Value),"ColumnDiff")
    After that I get: 
    I'm getting the sum of the two columns instead.
    Any clue about what I'm doing wrong? Please help me, I've been looking for the answer but any solution works for me.
    Luis Carlos

    Hi Luis,
    According to your description, you have a report with different dynamic columns. Now what you want is show your user percentage growth in your matrix report after your user select two of those columns (I think you may use parameter to achieve your “checkbox”
    function). Is my understanding correct?
    In Reporting Service, we can’t calculate dynamic columns with our build-in arrogation functions. So we need to add custom code into our report, and call those functions which defined in custom code in our expression. We have tested your scenario in our local
    environment. Here are steps and screenshots for your reference.
    Go to your Report Properties, add the custom code below into your report:
    Dim Shared Num1 As Double
    Dim shared Num2 As Double
    Public Function GetCalification(Calification as Double,Type as String,Type2 as String) 
    If Type = Type2 Then
       Num1=Calification
    Else
       Num2=Calification
    End If 
    Return Calification 
    End Function
    Public Function GetPec()
    Return (Num2-Num1)/Num1
    End function
    Create a matrix. Put PilarName into Row field, put Period into Column field. In Data field, put the expression below into the textbox:
    =Code.GetCalification(Fields!Calification.Value,Fields!Period.Value,Parameters!Period.Value(0))
    In our sample report, we created a parameter (named Period) for selecting two columns. You can replace “Parameters!Period.Value(0)” with your own parameter.
    Add an outside column at right (%Growth), put the expression below into the textbox:
    =Code.GetPec()
    Save and preview. The matrix and result looks like below:
    Reference:
    Custom Code and Assembly References in Expressions in Report Designer (SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Why have colors change in new update?  And won't allow me to permanently change back - as they revert on their own?

    My iCal calendar colors changed by themself.  I have gone to "edit" and "get info" and have changed the colors back.  Within minutes, they change back to the wrong color.  It has now made these same changes on my iPhone 5 and iPad mini.  What's going on?  How do I permanently change these colors?

    Here are two screen shots to show you what I am seeing.  The first screen shot shows it allowing me to select (highlighted in blue) my admin user (which is what I am locced in as).  The second screen shot shows it allowing me to select the "Guest" user (highlighted in blue).  However when I click on the user "Orion" nothing happens.  It will not change to highlight that user.

  • Colors changing on my calendar

    What is Apple doing about supporting its clients with information on fixing the problem of colors changing on iCal?
    Is this even on their radar?

    This is actually not about the colors changing.  The colors change but it's because the appointments are being assigned randomly (it seems) to another calender like, Home, Work, Birthday.  If you uncheck the calender it will cause the events to disappear.  Check the calender again and the events reappear.
    I don't know how the other calenders got turned on and how they linked to only some events.  If you click on Calender in the upper right you'll see what is checked.  try unchecking and see if your appointments disappear.  So for Apple, please correct this issue.

  • Ical calendar colors changing birthday calendar color

    Okay, I've been using iCal for well perhaps ever ever since it started shipping in the OS. I'd like to be able to change the colors codes of calendars on an iPad 2 running the app. So far haven't found a place to do that. Suspecting it might be a mobileme thing. I've even tried that, nope no good.  Seems like the iCal app on the iPad pulls colors from somewhere as some match others don't. I looking for a consistent look for all calendars across different devices, i.e. Ipad/iPhone/Laptop desktop version of iCal.  Going to repost this same question on the iCal discussion group. Should I get a response I'll repost it here.
    Thanks,

    Mikael,
    I also used to sync to my Palm handheld. I used The Missing Sync. I still had the problem of colors changing. But, they just changed. The colors on my iPod touch calendar don't relate at all to the colors in iCal.
    Since it occasionally happened with my Palm, I don't mind having to adjust the calendars. What I don't like is that there is no way, on the iPod, to change the colors. And a few of the frequently-used calendars have ended up with the same color on my touch.
    -fred
    I expect that will come with time.

  • Outlook 2010 Calendar Category Colors Changing

    We have a user who is using Oulook 2010. He assings colors to calendar items he creates. When someone sends him a calendar appointment, he assigns it a color as well. Anywhere from immediately to about 5 minutes, the color changes on its own to a lighter
    version of the assigned color. For example, he assigns an appointment to red and it's changed to the lighter red color.
    His colors do not change when he creates appointments for himself. The colors do change when someone else sends him a calendar invite, from both inside and outside the organization.

    Hi,
    I have a few questions for you regarding your issue:
    1. Can you reproduce this issue with all of your users or just this one user?
    2. Does this happen with all colors (for example does blue change to light blue and so on)?
    3. When the color changes does the category change also?
    I look forward to your response.
    Regards,
    HARVEYY - MSFT

Maybe you are looking for