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
Hello! I am trying to plot line graph via dpg.add_line_series() function. I am passing to the function the number of seconds since 01.01.1970 and some of the data is <0 (data earlier than 01.01.1970). But the lower time limit for graphs with time on x-axis anyway is limited to 1970 year. Is there any opportunity to change that limitation to another year (for example to 1900)?
To Reproduce
Steps to reproduce the behavior:
Use method add_line_series with any data <0 for x axis (x axis should be configured as time axis)
Expected behavior
Time graph should start from any date in accordance with what is specified in the argument
Screenshots/Video
Standalone, minimal, complete and verifiable example
This could prove to be rather difficult as the 1.1.1970 is the proleptic Coordinated USC, why not instead take the 0 point as a marker and shift the entire graph by your lowest value entered as negative value in corelation to pCUSC?
This could prove to be rather difficult as the 1.1.1970 is the proleptic Coordinated USC, why not instead take the 0 point as a marker and shift the entire graph by your lowest value entered as negative value in corelation to pCUSC?
Thank you for your reply! I thought about that. I really can shift all my data by a constant value to make array starts with 0. But in this way how can I edit x labels corresponding to applied shift?
Version of Dear PyGui
Version: 1.11.1
Operating System: Ubuntu 22.04
My Issue/Question
Hello! I am trying to plot line graph via dpg.add_line_series() function. I am passing to the function the number of seconds since 01.01.1970 and some of the data is <0 (data earlier than 01.01.1970). But the lower time limit for graphs with time on x-axis anyway is limited to 1970 year. Is there any opportunity to change that limitation to another year (for example to 1900)?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Time graph should start from any date in accordance with what is specified in the argument
Screenshots/Video
Standalone, minimal, complete and verifiable example
Insert this code block to the standard dpg app:
The text was updated successfully, but these errors were encountered: