You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "wycweb (via GitHub)" <gi...@apache.org> on 2024/07/08 07:52:23 UTC

[I] The content displayed in the calendar chart is missing [superset]

wycweb opened a new issue, #29514:
URL: https://github.com/apache/superset/issues/29514

   ### Bug description
   
   When the selected date range is less than a month, The content displayed in the calendar chart is missing.
   <img width="1727" alt="image" src="https://github.com/apache/superset/assets/30263765/93b570b0-600b-4d73-a62c-3d6861872c6f">
   
   
   ### How to reproduce the bug
   
   When the selected date range more than a month,the chart is displaying normally.
   <img width="1728" alt="image" src="https://github.com/apache/superset/assets/30263765/9ae3abce-b1a4-44ac-8149-6aa1c9df4fd1">
   When the selected date range is less than a month,The content displayed in the calendar chart is missing.
   <img width="1727" alt="image" src="https://github.com/apache/superset/assets/30263765/93b570b0-600b-4d73-a62c-3d6861872c6f">
   <img width="1643" alt="image" src="https://github.com/apache/superset/assets/30263765/3c8181cf-95a8-4490-8a7c-281955ab3997">
   
   
   ### Screenshots/recordings
   
   
   https://github.com/apache/superset/assets/30263765/40d94525-27e8-4522-816b-31888c126a9c
   
   
   
   ### Superset version
   
   4.0.1
   
   ### Python version
   
   3.10
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug report.
   - [X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] The content displayed in the calendar chart is missing [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #29514:
URL: https://github.com/apache/superset/issues/29514#issuecomment-2745915372

   Can you validate that this is still happening in 4.1.1? I'm finding some unexpected display behavior in the heatmap, but I'm not sure it's the same issue. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] The content displayed in the calendar chart is missing [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #29514:
URL: https://github.com/apache/superset/issues/29514#issuecomment-4035377219

   Closing due to inactivity. @rusackas asked for an example dataset or chart config to reproduce this, but there was no response. If you can provide reproduction steps with a specific dataset and chart configuration, please open a new issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] The content displayed in the calendar chart is missing [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #29514:
URL: https://github.com/apache/superset/issues/29514#issuecomment-2971864288

   This might be closed due to inactivity, unless you happen to have an example dataset we can test/reproduce with. Something frome the built-in examples, or a SQL query and chart config would be ideal.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] The content displayed in the calendar chart is missing [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #29514: The content displayed in the calendar chart is missing
URL: https://github.com/apache/superset/issues/29514


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] The content displayed in the calendar chart is missing [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #29514:
URL: https://github.com/apache/superset/issues/29514#issuecomment-2213286831

   <!-- Greeting -->
   Hi @wycweb! I'm here to assist you with your bug report. I can help you solve bugs, answer questions, and become a contributor. Let's work together to resolve the issue.
   
   <!-- Answer -->
   The content displayed in the calendar chart is missing when the selected date range is less than a month because the default domain setting is set to 'hour', and the `range` option is set to 12. This configuration is designed to display data in hourly intervals over a span of 12 hours by default. If the selected date range is less than a month, it might not fit well within these settings, leading to missing content in the calendar chart.
   
   To fix this, you can adjust the `domain` and `range` settings to better fit the selected date range. For example, you can change the domain to 'day' and adjust the range accordingly:
   
   ```js
   this.options = {
     // ... other settings ...
     
     // DOMAIN
     domain: 'day', // Change domain to 'day'
     range: 7, // Adjust range to fit the selected date range
     
     // ... other settings ...
   };
   ```
   
   By adjusting these settings, the calendar chart should display the content correctly for the selected date range <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/legacy-plugin-chart-calendar/src/vendor/cal-heatmap.js)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] The content displayed in the calendar chart is missing [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #29514:
URL: https://github.com/apache/superset/issues/29514#issuecomment-2214746348

   This _seems_ like it relates to https://github.com/apache/superset/issues/21870


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org