Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I have a timeseries spline chart that has different axis tick count and format based on incoming data. So if incoming data is hourly setting tick.count = 24, and tick.format = '%H %M', and if daily it would change to tick.count = 7, tick.format = '%a, %e %b'.

Is there a way to update/refresh chart’s axis data?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:3
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

andresatenciocommented, Aug 19, 2016

I do as follows:

chart.internal.config.axis_x_tick_count = 12 chart.flush()

GDFabercommented, Apr 11, 2020

I’m closing this issue in favour of #2274 which covers the same topic.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Specify Axis Tick Values and Labels - MATLAB & Simulink
Customize the tick values and labels along an axis, such as editing the tick value placement or modifying the tick label text and...
Read more >
ggplot2 axis ticks : A guide to customize tick marks and labels
The goal of this tutorial is to describe how to customize axis tick marks and ... Change the appearance and the orientation angle...
Read more >
Matplotlib.axis.Tick.update() function in Python
The Tick.update() function in axis module of matplotlib library is used to update this artist's properties from the dictionary props.
Read more >
Axes in Python
Here is an example of updating the y-axes of a figure created using Plotly Express to display approximately 20 ticks.
Read more >
python - Modify tick label text
To observe the effect, change the figure to a smaller size, e.g. fig, axes = plt.subplots(1, 3, figsize=(6,6)) and enlarge the figure window....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found