Coloring the legend

I have a scatter chart where I have replaced the symbol dynamically with a circle of varying opacity and size. Each series is assigned a color from a custom color wheel I have created.
The chart looks great, however, the legend is still using the default color wheel and does not match the relevant series data.
The node returned from chart.getLegend() does not seem to have the hooks which will allow me to impose my color wheel.
So does anyone know how I can do this? Or a pragmatic workaround would be to match my color wheel with the javafx default. Either approach works for me.
Thanks,
- Pat

Turns out that it was ridiculously easy to create an attractive custom legend without resorting to remapping legend item properties and such. Since I was creating a motion chart, this custom legend is better since I can show overlapping circles with diminishing opacity with a labels which indicate the meanings of these opaciities.
I had seen those links, ran dump and found nothing. It turns out that problem was due to the fact that I hadn't populated the chart with data yet and that there was no legend. Two lines out of sequence and amazingly invisible to my hours of staring, prodding and poking the code.
Thank you kindly for your response. This forum is proving effective.
- Pat

Similar Messages

  • How to display the color of time period and the legend in Calendar view?

    Hi,
    Sorry to disturb you guys with a quite simple question.
    I want to do a calendar view to display the period of absence for the portal user. I've setup the iView but it displays neither the color of time period nor the legend.
    The problem is:
    1) If I test with <i>static legend</i> (that is, I input the time period directly in the form instead of using data service),
       a) I could only define <b>one</b> time period, because it's impossible to map the <i>out</i> port of calendar to <i>in</i> port of form on defining the event as 'goto'.
       b) I can't see the color displayd while deploying although there is just one time period! Neither the legend. I' ve given the label and color of the legend and assigned the action as default in design board. Why it doesn't work?
    2) If I test with <i>dynamic legend</i> following the chapter "<i>Display Date on a Calendar</i>" in the <i>Modeler's Guide</i> of VC;
        I assigned @RECORDNR to 'ID legend field', and used BAPI_ABSENCE_GETLIST as dynamic legend data service to edit the legend, and assigned the color for every ID. But neither color nor legend could kindly appear. What's the problem? Is there any error in the edit of entry list of the legend?
    Please help me! Thanks!!!

    Is there any advice?
    I'll greatly appreciate your help!

  • Controling the legend in Numbers

    Hi all,
    I'm trying to edit a chart I have drawn using XY scatter data with Numbers '09. Besides colors, I would like to distinguish my data lines with solid, dotted, and dashed lines. Numbers lets me do this easily, but I don't seem to have any control over how the data is labeled in my legend. There, all the data is labeled with a solid line, regardless of whether the data it represents is dotted or solid.
    Is there any workaround to this besides manually creating my own legend with text boxes and assorted lines?
    Thanks!
    Message was edited by: ulmer01

    Numbers seems to think that color and data symbol are all that is required to distinguish one series from another in the legend. The problem is that sometimes you don't want to use data symbols (like on charts with many data points), color doesn't do you much good if you make black and white copies, and sometimes you want to use the same color for two or more series to show that they are related to each other (the dashed versus solid line type distinguishes them from each other).
    Here is one workaround if you are not using data points on your chart. For a dashed line, set the data point to an X, set the size to 2, and set the color to the background color (typically white). That'll make the legend have a dashed line. For the actual line on the chart, you have to set it to be a dashed line in the Graphic Inspector. This is not a perfect solution but I don't know of a better one

  • Can we place values near the legend in charts

    Dear Obiee Gurus!!
    I have a requirement for pie chart where we need to place the values near the legend color. We have option to place the legend or not in obiee but not to show both colors and value.
    Pie chart circle
    yellow color Manufacturing 52
    green color other 72
    Pink IT 10
    I highly appreciate any guidance.
    Thanks,
    sanjay

    user12846884 wrote:
    Cant we do that at report level rather than doing it at rpd level.Where did you see rpd level? It does on report level but you have to change some js files for decision to work.
    user12846884 wrote:
    And i have another requirement as in the dashboard prompt page i want to place two different sections horizontally to each other .You may add the second column in dashboard editor and place the second section in it.

  • Editing Chart legends: How to change the line structure within the legend?

    Hi,
    I have one problem: I have several charts in Numbers and since I need to print them in black/white, colors cannot be used to differentiate between the lines. So if I have a dotted line and a solid line, the legend only shows me solid lines as line symbols, so the line structure is not reflected within the legend. Can I change that?

    _This question was already asked and responded._
    Put a text box with the true kind of line above the one displayed automatically.
    Yvan KOENIG (VALLAURIS, France) samedi 1 mai 2010 16:52:44

  • Issue on sorting the legend

    Hi guru's
    Im trying to sort the legend for vertical stacked chart and seems it doesn't work.
    The color order on the vertical stacked bars are oppositely shown , when compared to legend.
    For example : If a legend shows green on top of the legend(1st) the green appers at the bottom in vertical chart. 
    Thanks in advance..

    Check this post
    Bar-Line chart sorting
    If helps pls mark also update with your solution that helps other :)

  • Formatting the legend of a stacked bar chart

    Hi,
    Is it possible to change/edit the legend part of a stacked bar chart right now I am getting the legend as"
    [Color Code1]                   Sum of [TableName].Column Name1
    [Color Code2]                   Sum of [Table Name].Column Name2
    [Color Code3]                   Sum of [Table Name].Column Name3
    etc...
    and I would like this to be displayed as
    [Color Code1]                   Column Name1
    [Color Code2]                   Column Name2
    [Color Code3]                   Column Name3
    Thanks,
    ii xi
    Edited by: ii.xii on Jan 9, 2012 4:47 PM

    Well, the only way to edit that is to select the Legend entry (In Preview Mode Only) > Right-click > Edit Axis Label.
    You would need to do this for every Legend entry.
    -Abhilash

  • In the year view, why is iCal coloring the boxes?

    In the year view, why is iCal coloring the boxes and what does each color mean and how do we change it?  It makes no sense or has any rhymn or reason according to what is in my calendar.

    By default it is colored by the number of entries for each day. From white for no entries through yellow to orange and then red for the most entries.
    Hope this helps.

  • How to change the text in the legend of a graph programmat​ically in labview

    I have many graphs in one plot and want to show the legend the name of the graph (i.e. the filename). How do I change the text in the legend programmatically?

    Create a property node for your graph. Use the property node "Active Plot" to define which plot (or line) you want to rename. Then write the new legend label to the property node "Plot.Name". See attached.
    Tim
    Attachments:
    legend.vi ‏12 KB

  • Flash Chart : Percentage values in the pie chart and  values in the legend

    Hi All,
    Query is :
    SELECT null link
    ,GN.region Region
    ,ROUND(100*ratio_to_report(COUNT(DISTINCT GN.submittedbyemail)) over (),2) value
    FROM goodnews_stories GN
    GROUP BY GN.region
    I use the above query to display the flash pie chart percentage values.
    The values are displayed in percentage in legend as well as on the chart.
    I need to display the values in the legend and percentage values in the chart.
    How this can be achieved ?
    Regards,
    Archana

    Hello,
    Can we do this using apex? I have observed in legend as well as on chart it displays the same values which are generated by the sql query.
    Regards,
    Archana

  • Adding a scroll bar to the legend in flex 4

    How can i add a scroll bar to the legend in Flex 4?
    I am to scroll the bars in the bar chart but i am unable to scroll the legend items.
    Can anybody help me out as soon as possible?

    Hello,
    The feature you are looking for is not there in Adobe Muse.
    I would suggest you to post this as a feature request on our "Ideas for features in Adobe Muse" section of the forums : http://forums.adobe.com/community/muse/ideas
    You might see this feature in future releases of Adobe Muse.
    Hope this helps.
    Regards,
    Sachin

  • How to color the text  elements in script?

    how to color the text  elements in script?
    byeeeee
    plz send the answers

    Hi,
    Please go through my blog to know how to do color printing in SAP scripts.
    White Paper on 'Color Printing in SAP Scripts'
    Regards,
    Sireesha Ch

  • How can I change the legend of a plot in an excel chart using LabView?

    Hi,
    My question is:
    I create a chart in Excel with LabView7 using ActiveX. There are 4 plots in one chart. How can I rename the legend (the name) of each plot with LabView?
    Thanks.
    Michi

    Use the SeriesCollection(1).Name function. In LV, wire up the following:
    _Chart into Method SeriesCollection (index = 1 to 4)
    Cascade into Variant to Data (wire type Excel.Series)
    Wire Series into Property Name, Write the string
    Michael Munroe
    www.abcdefirm.com
    Michael Munroe, ABCDEF
    Certified LabVIEW Developer, MCP
    Find and fix bad VI Properties with Property Inspector

  • Is there a way to display the legend for a chart, but not the chart?

    Hi,
    I have a stacked column chart and a line chart on top of each other.   I can't use the legend for the stacked column chart because the data will change from month to month, and the 2 charts will not be aligned.  I copied the stacked column chart to another part of the canvas and want to display only the legend, but the chart is still displaying.  Is there a way to prevent the chart from displaying?    Thanks.

    hi Jim Wojewnik,
    we can show only the legend in a pie chart by dragging the edges to closer.do the following,
    select the pie chart,select the edge of the chart and make it small and u ll find the pie chart shrinking.make it lean such that the pie chart disappear.
    try this work around and let me know.
    regards,
    ravi.

  • Can you get your cracked iPod Touch screen repaired if you colored the top of it with highlighters? If you can't, how do I remove the highlighter?

    I cracked my iPod Touch screen at the top where the front camera is and colored the cracks in with highlighter. I want to know if I can still get it repaired even if its colored in? If I can't, how do I remove the highlighter?

    If your iPod Touch, iPhone, or iPad is Broken
    Apple does not fix iDevices. Instead, they exchange yours for a refurbished or new replacement depending upon the age of your device and refurbished inventories. On rare occasions when there are no longer refurbished units for your older model, they may replace it with the next newer model.
    ATTN: Beginning July 2013 Apple Stores are now equipped to do screen repairs/replacements in-house on iPhone 5s. In some cases while you wait. According to Apple this is the beginning of equipping Apple Stores with the resources needed to do most repairs for iPhones, iPads, and iPod Touches that would not require major replacements. Later in the year the services may be extended as Apple Stores become equipped and staffed with the proper repair expertise. So, if you need a screen repaired or a broken screen replaced or have your stuck Home button fixed, call your local Apple Store to see if they are now doing these in-house.
    You may take your device to an Apple retailer for help or you may call Customer Service and arrange to send your device to Apple:
    Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
    To contact product and tech support: Contacting Apple for support and service - this includes international calling numbers.
    iPod Service Support and Costs
    iPhone Service Support and Costs
    iPad Service Support and Costs
    There are third-party firms that do repairs on iDevices, and there are places where you can order parts to DIY if you feel up to the task. Start with Google to search for these.

Maybe you are looking for

  • Adding field in PA30

    Hi Friends, I want to add communication column in pa30 initian screen in basic personal data. After adding the Communication column, In communication screen I want to add one more field E-Mail field. Please help me to complete the above task.

  • Balance Upload

    Dear All I want to Upload the balances from the Trial Balance such as Vendor Balances, Customer Balances, P&L Balances,B&S Balances, SGL Balances in the SAP. I have developed the following strategy.                                  PK                

  • Why is Compressor so Slow?

    I love Apple software, and Compressor is no exception.  For converting and compressing video, there isn't a tool out there that surpasses it.  However, there is one major complaint that I have.  While the rendering process of the video itself is rela

  • 3KEH in SAP 6.0 - Note 124363

    We just upgraded our system form 4.7 to 6.0 ECC. One of the functionality to pull profit center from 3KEH during the FB01 Posting is not working correctly. Though maintained properly we get DUMMY porit center in the posting for the GL Account. I saw

  • History Panel - Itemized Entries are Summaried on Import

    LR 2.3<br /><br />Raw file with xpm sidecar. I can see all of the adjustments made with LR<br />when I view the sidecar with a text editor.<br /><br /><crss:SavedSettings><br />    <rdf:Bag><br />     <rdf:li rdf:parseType="Resource"><br />      <crs