analytic Coffee!
  • Topical Tessitura Community Groups
  • More
analytic Coffee!
Wiki RSUM continuous chart, remove gaps
  • Discussions
  • Files
  • Wiki
  • Members
  • Mentions
  • Tags
  • Events
  • More
  • Cancel
  • New
analytic Coffee! requires membership for participation - click to join
  • analytic Coffee! Wiki
  • +Tessitura Analytics Shared Dashboards
  • +Data Analysis Training Opportunities
  • -Analytics Tips & Trouble shooting
    • Analytics Scripts not Saving
    • Auto-Zoom Scatter Map
    • Changing Labels on a Graph
    • Conditionally format the color of text
    • First Time Buyers and Subsequent Buying
    • Fixing Tessitura Analytic Emails after an upgrade
    • Joining Isolated Data-points, Removing Data Markers, Interpolating Last Point
    • Milestones: Labelled Data Points on Analytics Charts
    • RSUM continuous chart, remove gaps
    • Scatter Map Widget tips - Heat Map of postal codes
    • Sorting First Performance Name by Date Instead of Alphabetically
    • Troubleshoot Data Warehouse Load
    • Troubleshooting Application Availability
  • Jupyter Notebooks
  • Learning about AI
  • +Learning about Python
  • +Power BI & Tessitura

You are currently reviewing an older revision of this page.

  • History View current version

RSUM continuous chart, remove gaps

widget.on('processresult', function(se, ev){
$.each(ev.result.series, function(seriesIndex, seriesValue){
var prevValue = seriesValue.data[0].y;
$.each(seriesValue.data, function(index, value){
if(value.y == null)
value.y = prevValue;
else
prevValue = value.y;
});
});
});

widget.on('render', function(sender,se){
for (var i = 0; i < sender.queryResult.series.length; i++ ) {
for (var j = 0; j < sender.queryResult.series[i].data.length; j++) {
sender.queryResult.series[i].data[j].marker.enabled = false;
}
}
});

How to apply it to the widget...

(+) Analytics Scripts not Saving - Wiki - analytic Coffee! - Tessitura Community