Closed elray1 closed 1 year ago
initial_xaxis_range
{..., 'initial_xaxis_range': ["2022-04-20", "2023-05-31"]}
x_axis_range_offset
{..., 'x_axis_range_offset': [52, 6]}
e.g. this could be specified as an options argument along the lines of
options
options = { ... "initial_x_range": ['yyyy-mm-dd', 'yyyy-mm-dd'], .... };
thread: https://reichlab.slack.com/archives/C02DHSYQ1CP/p1668788252606739
updated per this slack conversation:
initial_xaxis_range
predtimechart option:{..., 'initial_xaxis_range': ["2022-04-20", "2023-05-31"]}
# [2023-04-19 - 52 weeks, 2023-04-19 + 6 weeks]x_axis_range_offset
viz config option (recall: https://zoltardata.com/project/44/viz_options_edit ):{..., 'x_axis_range_offset': [52, 6]}
_# [weeks_before_final_reference_date, weeks_after_final_referencedate]initial_xaxis_range
that's passed to predtimechartoriginal from @elray1 :
e.g. this could be specified as an
options
argument along the lines of