Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Q on charting

    I'd like to know whether the charting capabilities included with Smartclient allow for advanced interactivity with the chart- I'm looking for features such as:
    1) Adding a new point to an existing line chart
    2) Within an existing line chart, drag and move a point to a different Y coordinate (keeping the x coordinate unchanged)
    3) For 1&2, capture and write-back the new (or modified) value
    4) Animate a bubble chart - bubbles change in size and position, over an elapsed time period

    thank you-

    #2
    These are all doable, but they aren't built-in features.

    If you take a look at the Charting samples for Adding Elements and Custom Hovers you can see that you can get all the coordinates and events you'd need to implement a drag interaction or provide an interface for clicking to add a point.

    At any time you can just call setData() to provide new data to the chart. You can use this to refresh the chart after clicking or dragging to change/add points, and also to refresh the data if you want to create a time-based animation for a bubble chart.

    Most of your use cases could be wholly or partly implemented as framework features as well - for that, consider Feature Sponsorship.

    Comment

    Working...
    X