Lines in LineChart without shadow

Hi,
i am trying to do this:
<mx:LineSeries
lineSegmentRenderer="mx.charts.renderers.LineRenderer"/>
but in Action Script (i am creating the chart dynamicly)
i tried:
var cl:ClassFactory = new
ClassFactory(mx.charts.renderers.LineRenderer);
ls.setStyle("lineSegmentRenderer",cl);
or even this:
ls.setStyle("lineSegmentRenderer","mx.charts.renderers.LineRenderer");
but nothing... please help :(

Hi There,
paste this after your line series declaration:
<mx:seriesFilters>
<mx:Array/>
</mx:seriesFilters>
hope this helps!

Similar Messages

  • The error console, I clear it and 4 minutes later it has 100's of yellow, pink & blue message lines in it, without me making 100's of clicks or commands ?? .... Other than the error console filling up faster than a superman, it seems to be working fine.

    The error console, I clear it and 4 minutes later it has 100's of yellow, pink & blue message lines in it, without me making 100's of clicks or commands ?? .... Other than error console filling up faster than a superman, it seems to be working fine. why does it register so many yellow, pink & blue warnings, errors, etc. ???
    This happens no matter where I am browsing, yahoo, google, mail or news. Clearing the console seems to help with the speed of FF after an hour or so of browsing, it slows down terribly and if not cleared and or shut down and relaunching FF, both actually, it is painfully slow, like dial-up.

    Hi Mac Attack,
    My computer will not disconnect from the internet.  It seems to find a clone router and continues even when I shut down and unplug my my own home iy
    Your main question was 'chopped' in the title. Please reply in the body of a reply box with the full question and anything you have tried. And no, the long report was not helpful .
    If the same website is opening each time you launch a browser (Safari?) hold down the shift key as you launch to prevent previous pages from opening.
    Have a look at your settings in Safari > Preferences. Especially General and Privacy.
    Reset Safari to remove cookies and other stored data.
    System Preferences > General
    Have a look at your settings in System Preferences >  Security & Privacy.
    Call back with more questions.
    Regards,
    Ian

  • How can I draw a line in Preview without the arrow head

    Hello all!
    How can I draw a line in Preview without the arrow head at the end of the line?

    Yes. Once you select the line bar a new entry will appear where you can select what type of line. Based on my experience whether or not it will change is iffy.

  • I wanna dots instead of displaying it as a whole line in Linechart

    Hi Folks,
    I had one small doubt in the output of this program. The program is related to LineChart..Actually, Im getting the output as Line in the chart, but my requirement is to display only dots instead of displaying as a line...
    I just want only displaying as dots at particular name, insteading of getting that whole line from beginning to end...
    First of all whether its posiible to get dots or not?? and if it is possible, how??
    Here is the code:
    package com.home.practise.streams;
    import java.awt.BasicStroke;
    import java.awt.Color;
    import java.awt.Polygon;
    import java.awt.Shape;
    import java.awt.geom.Rectangle2D;
    import org.jfree.chart.ChartFactory;
    import org.jfree.chart.ChartPanel;
    import org.jfree.chart.JFreeChart;
    import org.jfree.chart.axis.NumberAxis;
    import org.jfree.chart.plot.CategoryPlot;
    import org.jfree.chart.plot.DefaultDrawingSupplier;
    import org.jfree.chart.plot.DrawingSupplier;
    import org.jfree.chart.plot.PlotOrientation;
    import org.jfree.chart.renderer.category.LineAndShapeRenderer;
    import org.jfree.data.category.CategoryDataset;
    import org.jfree.data.category.DefaultCategoryDataset;
    import org.jfree.ui.ApplicationFrame;
    import org.jfree.ui.RefineryUtilities;
    public class LineChartDemo5 extends ApplicationFrame {
        public LineChartDemo5(final String title) {
            super(title);
            final CategoryDataset dataset = createDataset();
            final JFreeChart chart = createChart(dataset);
            final ChartPanel chartPanel = new ChartPanel(chart);
            chartPanel.setPreferredSize(new java.awt.Dimension(500, 270));
            setContentPane(chartPanel);
        private CategoryDataset createDataset() {
            // row keys...
            final String series1 = "First";
            final String series2 = "Second";
            final String series3 = "Third";
            // column keys...
            final String type1 = "Hari";
            final String type2 = "Chary";
            final String type3 = "Trinetra";
            final String type4 = "Naveen";
            final String type5 = "Type 5";
            final String type6 = "Type 6";
            final String type7 = "Type 7";
            final String type8 = "Type 8";
            // create the dataset...
            final DefaultCategoryDataset dataset = new DefaultCategoryDataset();
            dataset.addValue(0, series1, type1);
            dataset.addValue(0, series1, type2);
            dataset.addValue(1, series1, type3);
            dataset.addValue(1, series1, type4);
            /*dataset.addValue(5.0, series1, type5);
            dataset.addValue(7.0, series1, type6);
            dataset.addValue(7.0, series1, type7);
            dataset.addValue(8.0, series1, type8);*/
            /*dataset.addValue(5.0, series2, type1);
            dataset.addValue(7.0, series2, type2);
            dataset.addValue(6.0, series2, type3);
            dataset.addValue(8.0, series2, type4);
            dataset.addValue(4.0, series2, type5);
            dataset.addValue(4.0, series2, type6);
            dataset.addValue(2.0, series2, type7);
            dataset.addValue(1.0, series2, type8);
            dataset.addValue(4.0, series3, type1);
            dataset.addValue(3.0, series3, type2);
            dataset.addValue(2.0, series3, type3);
            dataset.addValue(3.0, series3, type4);
            dataset.addValue(6.0, series3, type5);
            dataset.addValue(3.0, series3, type6);
            dataset.addValue(4.0, series3, type7);
            dataset.addValue(3.0, series3, type8);*/
            return dataset;
        private JFreeChart createChart(final CategoryDataset dataset) {
            final JFreeChart chart = ChartFactory.createLineChart(
                "visualization",      // chart title
                "Names",                   // domain axis label
                "Gender",                  // range axis label
                dataset,                  // data
                PlotOrientation.VERTICAL, // orientation
                true,                     // include legend
                true,                     // tooltips
                false                     // urls
    //        final StandardLegend legend = (StandardLegend) chart.getLegend();
      //      legend.setDisplaySeriesShapes(true);
            final Shape[] shapes = new Shape[3];
            int[] xpoints;
            int[] ypoints;
            // right-pointing triangle
            xpoints = new int[] {-3, 3, -3};
            ypoints = new int[] {-3, 0, 3};
            shapes[0] = new Polygon(xpoints, ypoints, 3);
            // vertical rectangle
            shapes[1] = new Rectangle2D.Double(-2, -3, 3, 6);
            // left-pointing triangle
            xpoints = new int[] {-3, 3, 3};
            ypoints = new int[] {0, -3, 3};
            shapes[2] = new Polygon(xpoints, ypoints, 3);
            final DrawingSupplier supplier = new DefaultDrawingSupplier(
                DefaultDrawingSupplier.DEFAULT_PAINT_SEQUENCE,
                DefaultDrawingSupplier.DEFAULT_OUTLINE_PAINT_SEQUENCE,
                DefaultDrawingSupplier.DEFAULT_STROKE_SEQUENCE,
                DefaultDrawingSupplier.DEFAULT_OUTLINE_STROKE_SEQUENCE,
                shapes
            final CategoryPlot plot = chart.getCategoryPlot();
            plot.setDrawingSupplier(supplier);
            chart.setBackgroundPaint(Color.yellow);
            // set the stroke for each series...
            plot.getRenderer().setSeriesStroke(
                0,
                new BasicStroke(
                    2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
                    1.0f, new float[] {10.0f, 6.0f}, 0.0f
            plot.getRenderer().setSeriesStroke(
                1,
                new BasicStroke(
                    2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
                    1.0f, new float[] {6.0f, 6.0f}, 0.0f
            plot.getRenderer().setSeriesStroke(
                2,
                new BasicStroke(
                    2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
                    1.0f, new float[] {2.0f, 6.0f}, 0.0f
            // customise the renderer...
            final LineAndShapeRenderer renderer = (LineAndShapeRenderer) plot.getRenderer();
    //        renderer.setDrawShapes(true);
            renderer.setItemLabelsVisible(true);
         //   renderer.setSeriesLinesVisible(0, false);
       //     renderer.setBaseLinesVisible(false);
      //      renderer.setBaseShapesVisible(true);
      //      renderer.setSeriesLinesVisible(1, true);
      //      renderer.setLabelGenerator(new StandardCategoryLabelGenerator());
            // customise the range axis...
            final NumberAxis rangeAxis = (NumberAxis) plot.getRangeAxis();
            rangeAxis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());
            rangeAxis.setAutoRangeIncludesZero(false);
            rangeAxis.setUpperMargin(0.12);
            return chart;
        public static void main(final String[] args) {
            final LineChartDemo5 demo = new LineChartDemo5("Line Chart Demo 5");
            demo.pack();
            RefineryUtilities.centerFrameOnScreen(demo);
            demo.setVisible(true);
    }And here is the link, I have just used the above program from this link only
    http://www.java2s.com/Code/Java/Chart/JFreeChartLineChartDemo5showingtheuseofacustomdrawingsupplier.htm

    It looks like you're using BasicStrokes to create dashed lines
    plot.getRenderer().setSeriesStroke(
        0,
        new BasicStroke(
            2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
            1.0f, new float[] {10.0f, 6.0f}, 0.0f
    plot.getRenderer().setSeriesStroke(
        1,
        new BasicStroke(
            2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
            1.0f, new float[] {6.0f, 6.0f}, 0.0f
    plot.getRenderer().setSeriesStroke(
        2,
        new BasicStroke(
            2.0f, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND,
            1.0f, new float[] {2.0f, 6.0f}, 0.0f
    ); Is this not what you want? If you want points instead of dashes you just specify *1f* for first argument in the float array
    new BasicStroke(...,...,...,...,new float[]{1f,6f},....); That indicates that you want the dashed regions to be ~1 pixel long - that is, a point - and the empty regions between the dashes to be ~6 pixels long.

  • Increase in monthly line rental charges without no...

    I have been with BT for a year now on the Unlimited Evening and Weekend plan.  When we signed up a year ago, we just wanted basic line rental, but for some reason were given the Evening and Weekend plan at the same cost.  Knowing that our year's contract was due to finish soon, we thought about leaving last month to go with a rival company charging us less, but decided to stay with BT to avoid the hassle.  We have just recieved the first bill for the next year of our contract, and found that we are now being charged £3 a month more than last month (£16.60 instead of £13.60).  It seems we are now paying the full price for the Evening and Weekends plan, despite never having requested this service in the first place.
    Frankly, we cannot afford this increase.  We were not given any notice of this increase, or sent any information warning us that if we wanted to leave it would have to be done before 25th March.  I do not want the Evening and Weekend plan, but I know that BT will not let us out of our contract until next March.  How can i change our contract so we are paying the same line rental as we were before?
    I would like to say that I think it is extremely unethical to enter people into new contracts automatically without making them aware of the costs and terms.

    Seems that the 1st contract would of been an package offer of some sort, when you renewed they simply continued the same package but put you onto full (normal) prices. Standard practice if you don't try and negotiate a deal, worth trying to speak to sales. Thaye should of talked you through the new contract price if you phoned them to renew. if it was a auto renewal advised (iirc) one month in advance then I would of thought it would have the new contract prices on the paper/email (that they should of sent)
    edit: or even contact the mods to try and help http://bt.custhelp.com/app/contact_email/c/4951
    Check your exchange or major service outagesIf someone has given a helpful answer, please click on their Ratings star on the left-hand side. ***

  • Line Color and color shadow in smartform with release 46c

    Hi, we have a sap system release 46c.
    We are developing a smartform, the smartform have a template with multiple box,lines and columns.
    We want that the lines will be in one color and some of the box will be filled with a color.
    Is possible have color lines in smartforms in release 46c ?
    Is possible to fill a box with a color in a smartform in release 46c?
    Thanks in advanced.
    MANUEL
    PS. We are using a template to draw the box.

    When you Creating Lines in Tables OR when you creating Templates in SMART FORMS,
    You can specify FILL COLOR for each CELL/ROW/COLUMN of Table or Template.
    For that you must choose Item(table/template) in Tree in smartforms.
    Then you must choose Cell(s) which you want to color-fill, and then choose color from "Shadowing" OR "Shading" ("&#1054;&#1090;&#1090;&#1077;&#1085;&#1086;&#1082;" on Russina) color-menu.

  • How can I move text onto the following line in CSS without making a new paragraph?

    Hello there,
    I want to do the follow:
    Name of company,
    Address of company 1,
    Address of company 2,
    Address of company 3,
    When I press enter to move the text underneath the previous text, it starts a new paragraph which I don't want. How can I simply get it to flow onto the next line without creating a new paragraph?
    Thanks so much in advance.

    You can use <br />
    <p>
    Address 01<br />
    Address 02<br />
    Address 03<br />
    </p>
    I'd probaly type it out in Code View but I think you can use shift+enter
    Martin

  • Sales BOM Header line item confirmed without components in Delivery

    Hi Experts,
    The issue is about the delivery is created with the single component for the Sales BOM where as it contains two.
    We have analyzed the issue and checked that the missing component would have not been available in the stock during the time when the delivery is created and hence is not included(Header material and single component is included in the Delivery).
    The user's concern is; when there is no stock for any one of the component, then it shouldn't have confirmed the header material. Kindly suggest.

    Hi Azam,
    It seems to me that you want to use Delivery Group for Sales BOM where If Mat A = Mat B + Mat C and Mat B Availability date is 20/07/2014 (DD/MM/YYYY) and Mat C availability is 25/07/2014 then Main line item should be confirmed with 25/07/2014.
    If any one sub Item is not available, then Any of the item from the Grouping should not be dispatched.
    If this is the requirement then, In Item Category (VOV7) for main Item update Create Delivery Group field with X and your requirement will be fulfilled.
    Do let us know the result after testing.
    Regards,
    MJ.

  • Assigning a number value to a line from file without array

    How do you assign a number value to a line from a file? I want to use the assigned number so that the i can use random number to randomly select a line
    Example. i have the lines A,B,C,D,E
    A
    B
    C
    D
    E
    i know that a is line 1 b is line 2 so on so on
    (1) A
    (2)B
    (3)C
    (4)D
    (5)E
    so from here i would use the random number generator so that i could randomly select one of these. I already know how to code for the number generator but how would i make it so that i can access each individual line as a number?

    ya that's what im using but reguarding the code i dont think it does what im looking for. yes it does provide a random line but wen i run it multiple times it gives me the same line repeatedly. also i need to be able to refer to that line in the future so in the code the String line gets replaced each time
    BufferedReader bF = new BufferedReader(new FileReader("someFilePath"));
              String line;
              int someRandomNumber = 9;
              int counter = 0;
              while ((line = bF.readLine()) != null){
                   if (counter == someRandomNumber){
                        break;
                   counter++;          
              System.out.println(line); //line at #someRandomNumber in the file

  • Vendor Line Item Upolad Without TDS Portion  -- very urgent

    Hi Peers
    I want to upload the vendor Line Items. If my Vendor is a TDS Vendor then , the system is calculating TDS even for Initial Upload. Is there anyway by which i can bypass this. Plz help. Its very urgent.
    Regards
    Rajaram

    Dear Rajaram,
    Do not upload vendor open balances with TDS master updated. System is calculating TDS coz u have first updated TDS master in vendor master with liable tick on it.
    The process should be as:
    1. First upload vendor open items thru program
    2. Then upload TDS master with liable tick .
    Doing this system will start calculating TDS on future invoices. Now go to T code MASS, select Vendors under it , & deactivate liable from each master record.And then upload the balance.
    Regards,
    Ajay Gupte

  • I am filling out an online application for school. Is it possible to set Firefox to check spelling when in a single-line text box without having to right click every time?

    I want to be able to set spell check to occur automatically even for single-line text boxes.

    You can set the pref <b>layout.spellcheckDefault</b> to <i>2</i> on the <b>about:config</b> page to perform the spell check on single line and multi line text fields.
    * http://kb.mozillazine.org/layout.spellcheckDefault
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold(user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • Stroke color of line in LineChart

    How to change the color of line in line chart, from
    ActionScipt???
    I've found an example of how to change the stroke of
    horizontal or vertical axis, but I just can't find anything clear,
    how to change the chart line!!!! There are many, many properties,
    but none of them is right.

    I want to change the areaStroke and areaFill of an AreaSeries
    object, but maintaining the default assigned colors. I´ve
    tried to the method getStyle("areaStroke") but it returns null.
    Where Flex sets the default colors? Isn't there anyways to maintain
    the default colors but change the style, gamma, weight, etc...
    It would be great to do this with LineSeries and other types
    of series.

  • Make a white background with white object is possible? without shadow!

    i m contributor photographer in most microstock, i try to make a white backgournd with white object but with lightroom 4 it isn't possible, i think the program have probelm to select white object and white background, i see internet site microstock and there isn't a good photo.
    http://it.fotolia.com/id/72385192
    there is a little shadow, i don't want this!
    can you help me?
    thanks,
    francesco.

    You can't change it within the OS. There may be some apps which will do it. Search Dock on MacUpdate.
    But all these types of haxies come with possible risk.
    You can file feedback here.

  • Straight lines with gaps without joining

    Hi Everyone,
    I have a requirement.
    Month Qtr Year Avg
    Jan 10 200
    Feb 10 200
    Mar 10 200
    Apr 10 300
    May 10 300
    June 10 300
    July 10 250.
    I need to show the qtr year average in a line but the line shouldn't join the value from 200 to 300 and 300 to 250. Can i Have straight lines with gaps?
    Thank you.

    Also, using Plus,diamond etc would solve the problem but I want '-' symbol type. Is it possible to customize '-' symbol?

  • I need help in creating Firefox profiles directly from command line (script like) without having to use the profile manager step-by-step window

    is there a way to provide command line arguments when invoking profile manager so that I can seamlessly create a profile from one invocation? Passing profile name and profile location. I have to bypass user interaction with profile manager window. Thanks.

    http://developer.mozilla.org/en/docs/Command_Line_Options#User_Profile

Maybe you are looking for

  • Beach Ball When Viewing Video

    Running 5.0.2, I have this scenario constantly since upgrading to Safari 5+ : 1. Safari has been running for several hours and I have 2-3 gigs free RAM according to Memory Stick. 2. I go to apple.com/trailers to view movie trailers 3. I choose a movi

  • How to cancel my membership of adobe photoshop program?

    please let me know as soon as possible

  • Using Nested Styles for Prices

    I wish to easily plug in Prices and have them automatically edited to fit the style I want. For example:  If I typed $3.59. . . .I would want it to show up as automatically. I am mainly concerrned with being able to apply Superscripts and Subscripts

  • Getting rid of scan lines when exporting

    I've noticed that no matter what method I use to export, I get scan lines within my video. Do I have to change a setting? I get them even if I export in full quality.

  • Oracle Text como comenzar

    - Como comenzar a usar Oracle text? - Que es lo primero que debo saber? - How to start using Oracle text? - What is the first thing I should know?