Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot time serides data with skip weekends and time in between. #1237

Open
shafqatu opened this issue Sep 13, 2021 · 1 comment
Open

Plot time serides data with skip weekends and time in between. #1237

shafqatu opened this issue Sep 13, 2021 · 1 comment
Labels
category: plots related to plots priority: low low priority type: feature New feature or request

Comments

@shafqatu
Copy link

Is your feature request related to a problem? Please describe.
So i want to plot a data of with time on xaixs, and some float value on y-axis. The plot is drawn using add_line_series (date_time_1min, close_prices,label="Data", parent=self.yaxis, id="series_id").

The problem is my data is only availvable between 9:30 AM to 4:30 PM and weekdays. When i plot the data using above function it interpolates the dates and times in between also, which make an ugly plot in the end.

Describe the solution you'd like
A clear and concise description of what you want to happen.
May be something like these guys have done for matplot lib
https://stackoverflow.com/questions/1273472/how-to-skip-empty-dates-weekends-in-a-financial-matplotlib-python-graph

Describe alternatives you've considered

Additional context
Add any other context or screenshots about the feature request here.

Not Wanted Plot using current provide functions
Screen Shot 2021-09-12 at 7 19 25 PM

(This is what i would like to see the data if the weekends and time between 4:30 PM to 9:30 AM is skipped.)
Screen Shot 2021-09-12 at 7 18 21 PM

I a new learner of dearpygui so please help me with if this function already exist, I am unable to find after looking
in to the issues list and googling.

@shafqatu
Copy link
Author

Same problem discussed in plotly also, hoping this helps.
https://stackoverflow.com/questions/62824368/how-remove-weekends-from-plot-using-plotly

@hoffstadt hoffstadt added the type: feature New feature or request label Sep 25, 2021
@hoffstadt hoffstadt added category: plots related to plots priority: low low priority labels Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: plots related to plots priority: low low priority type: feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants