You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm creating a chart with Skia (and d3) and I have a problem with generating correct Y/X axis scales.
The chart has a couple hundreds of data points, so I can't just show value of every datapoint on the axis, I need a "normal" scale (eg. Y axis: 0, 10, 20, 30...; X axis: 8:00, 8:15, 8:30...).
I know you can generate such axes with d3, but how can it work with Skia? (Or maybe you know a different method?).
PS. I have one additional problem, but since it's not the main issue here, I'll just leave it and maybe someone would know: Is it somehow possible to interpolate chart lines with different amount of datapoints? (I tried some solution with Flubber posted by @wcandillon, but it didn't seem to work for me). Although the maine issue here are the axes for now 🤞
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey, I'm creating a chart with Skia (and d3) and I have a problem with generating correct Y/X axis scales.
The chart has a couple hundreds of data points, so I can't just show value of every datapoint on the axis, I need a "normal" scale (eg. Y axis: 0, 10, 20, 30...; X axis: 8:00, 8:15, 8:30...).
I know you can generate such axes with d3, but how can it work with Skia? (Or maybe you know a different method?).
PS. I have one additional problem, but since it's not the main issue here, I'll just leave it and maybe someone would know: Is it somehow possible to interpolate chart lines with different amount of datapoints? (I tried some solution with Flubber posted by @wcandillon, but it didn't seem to work for me). Although the maine issue here are the axes for now 🤞
Beta Was this translation helpful? Give feedback.
All reactions