Forum Discussion

Ballard-Atkins's avatar
Ballard-Atkins
Frequent Visitor
9 years ago
Solved

Scaling Gantt and Line Chart after slicing

We would like to demonstrate equipment breakdowns against process tank volumes by displaying our volume in a line chart with a Gantt aligned above; the Gantt displays our breakdowns.    Consider th...
  • Ballard-Atkins's avatar
    Ballard-Atkins
    9 years ago

    You are correct; to scale the Gantt chart I have to edit the visual. It's scaled based on ticks; each tick is based on the number of milliseconds in the display unit (day, week, month, etc.). The axis is then set to the margin + number of ticks (among other things). 

     

    So to scale my Gantt chart to my line chart (which does make sense in my use, because the failure correlates directly to the volume represented in the line chart) I have to make the ticks dynamic based on the visual display rather than time frame. 

     

    If anyone's interested, I'll post the modified Gantt when I'm done.