After further experimentation, I seem to have found a reliable work- around, in case someone else encounters this bug.
The bug pops up when I create a chart using a user-defined custom chart type (which is an xy scatter chart). However, if I instead create the chart using the Excel XY-scatter type and then immediately change the chart type to my user-defined type, the bug does not appear (so far, at least). Daniel On Nov 29, 9:24 am, Daniel <dfin...@gmail.com> wrote: > Hello, > > I've been working with (x,y) data which is typically ordered in > groups, but the groups are unordered (e.g. points 50->100 then points > 151->101 then points 49->1). I add the appropriate index (x-value) > and then re-order the data based on that index. The index is a > distance (in metres) and the points are about 1 metre apart (but not > exactly 1 m). There are typically 3 or 4 series of data on the graph. > > Before I re-order the data, I graph the data with an XY-scatter chart, > which normally works fine. After I re-order the data based on the > index, my chart magically becomes a line chart instead of the xy > scatter chart. When I check the chart type (right-click on the series > -> "Chart type") it reports that it is still an xy scatter chart. > > I tried changing to a line chart and changing back, but this doesn't > help. I also tried checking/setting the chart type to xy scatter > using a macro, but that also didn't work. Sometimes reverting to a > less ordered state of data (cutting-pasting chunks of data around) > will fix it, but not always. > > Any ideas what I'm doing wrong/is happening here? I appreciate any > help. > > Thanks, > Daniel -- ---------------------------------------------------------------------------------- Some important links for excel users: 1. Follow us on TWITTER for tips tricks and links : http://twitter.com/exceldailytip 2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310 3. Excel tutorials at http://www.excel-macros.blogspot.com 4. Learn VBA Macros at http://www.quickvba.blogspot.com 5. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com <><><><><><><><><><><><><><><><><><><><><><> Like our page on facebook , Just follow below link http://www.facebook.com/pages/discussexcelcom/160307843985936?v=wall&ref=ts