ctodx

This Blog

News

Favorite Posts

Archives

March 2008 - Posts

  • XtraCharts now has splines? Wassat then?

    Back in school, it seemed that we always had to draw some graph or other for math homework. We were given an equation like y = x3 - 3x2 and had to plot it on squared graph paper. I had a marvelous bendy ruler for this task and I'd carefully bend this plastic and wire contraption along the points of my graph so that I could draw a smooth line joining them. (I see they're called flexible curves these days, or maybe they always were, but to this English schoolboy, they were bendy rulers.)

    With the latest version of XtraCharts, v2008 vol1, released today, we've added our version of this bendy ruler, a programmatic one that uses splines to join your data points (splines are also sometimes known as Bézier curves). No longer do you have a case of the jaggies when displaying a line chart, like those join-the-dots coloring books, you can now elect to have a smooth curve joining the points on your chart. And it's also available in area forms, both stacked and full-stacked, in 2D or 3D.

    Splines have been around for many, many years. First popularized by Pierre Bézier, a designer working for Renault in France in the 60s (although invented by Paul de Casteljau who worked for the rival Citroën), they came to prominence with Adobe's PostScript in the early 80s where for the first time all fonts were displayed by using splines instead of bitmaps. Nowadays we don't even think about it any more, but the text you are reading now was created on the pixel grid of your monitor using splines.

    Despite its weird name, a spline is merely a mathematical algorithm for deriving a quadratic (or, more generally, a cubic) polynomial that passes through two points. Draw enough of these polynomials joined together and you have a smooth curve through many points.

    Luckily you don't have to worry about quadratics or cubics or joining together polynomials, because our charting team have done all that for you. Set the chart type, add your data points, and the charting engine does the rest, working out the best angle for joining lines on the chart, including the data points on the edge of the chart. After all, at one of the data points, you don't want the line arriving at one angle and leaving at another: the tangent for both line segments must be the same where they meet.

    Oops, there I go into mathematics again. Sorry, occupational hazard.

    Here's a quick example that I copied from the What's New so you can see how it looks.

     

  • Late news: More breaking changes for v2008 vol.1

    For some reason, the WinForms team that deals with grids were a bit late in reporting these breaking changes. I do apologize for this, but we've made sure that they buy the donuts next week.

     

    The following options have been removed in v2008 vol.1. They have been marked as obsolete now over many major releases.

    XtraGrid

    • GridView.BehaviorOptions, CardView.BehaviorOptions
    • GridView.MenuOptions
    • GridView.PrintOptions, CardView.PrintOptions
    • GridView.ViewOptions, CardView.ViewOptions
    • GridColumn.Options
    • GridBand.Options

    XtraTreeList

    • TreeList.BehaviorOptions
    • TreeList.MenuOptions
    • TreeList.PrintOptions
    • TreeList.SelectionOptions
    • TreeList.ViewOptions

    XtraVerticalGrid

    • VGridControlBase.BehaviorOptions
    • VGridControlBase.ViewOptions
    • BaseRow.Options

    Hopefully, these won't come as a surprise, but as I said, they've been marked as obsolete for a long while now.

  • Jolt Awards Productivity Winner

    When we entered CodeRush (with Refactor! Pro) to the Jolt Awards this year, we weren't very hopeful. In fact, I'll admit it took us some effort to be enthusiastic and prepare for the entry. Not that we're indifferent about our IDE Tools -- hardly that, good heavens, Mark Miller is always ready to transgress good taste on behalf of them (no, I'm not linking: you're reading this at work) -- but that this was the third year in a row we'd entered the products with nothing really to show for it. We were all of the opinion that CodeRush doesn't really fit into any of the Jolt Award categories (heh, for some reason my fingers want to type Jolly Awards).

    Then we heard in February that CodeRush was one of the finalists in the Development Environments category, alongside five others. Five IDEs to be precise. We were like Gimli joining the Fellowship of the Ring, everyone else was bigger than us. Things were looking up [pun intended].

    Anyway, to cut a long story short, last night they held the awards ceremony at SDWest. The aforementioned Mr. Miller was our representative, and I understand is very fetching in black tie. We didn't win the Jolt Award in our category, but were a second-place Productivity Winner instead. Awesome!

    So it's congratulations to the IDE Tools team. We'll be popping open some champers next time we're all together.

LIVE CHAT

Chat is one of the many ways you can contact members of the DevExpress Team.
We are available Monday-Friday between 7:30am and 4:30pm Pacific Time.

If you need additional product information, write to us at info@devexpress.com or call us at +1 (818) 844-3383

FOLLOW US

DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

Copyright © 1998-2017 Developer Express Inc.
All trademarks or registered trademarks are property of their respective owners