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
When plotting a chart using Plotly with a small dataset and specifying the x-axis type as date, along with a custom formatTick function, the x-axis displays duplicate keys. This issue creates a confusing and cluttered appearance, as shown in the example provided below.
Steps to Reproduce:
Create a chart with the x-axis type set to date.
Use a small dataset with date values.
Specify a custom formatTick function for the x-axis.
Example:
You can see the issue in the following CodePen example: CodePen Example
Expected Behavior:
The x-axis should display unique date values without any duplicates, even for small datasets, ensuring a clean and accurate representation of the data.
Actual Behavior:
The x-axis shows duplicate date values, leading to a misleading visualization.
Environment:
Plotly.js version: plotly.js-dist-min@2.32.0
Browser: chrome
Operating System: windows
This issue significantly impacts the readability of charts, especially when dealing with smaller datasets where clear and distinct x-axis labels are crucial.
Additional information:
by specifying type as category or explicitly specilfying tickvals and ticktext doesn't suit well for large dataset.
Screenshot
The text was updated successfully, but these errors were encountered:
When plotting a chart using Plotly with a small dataset and specifying the x-axis type as date, along with a custom formatTick function, the x-axis displays duplicate keys. This issue creates a confusing and cluttered appearance, as shown in the example provided below.
Steps to Reproduce:
Create a chart with the x-axis type set to date.
Use a small dataset with date values.
Specify a custom formatTick function for the x-axis.
Example:
You can see the issue in the following CodePen example:
CodePen Example
Expected Behavior:
The x-axis should display unique date values without any duplicates, even for small datasets, ensuring a clean and accurate representation of the data.
Actual Behavior:
The x-axis shows duplicate date values, leading to a misleading visualization.
Environment:
Plotly.js version: plotly.js-dist-min@2.32.0
Browser: chrome
Operating System: windows
This issue significantly impacts the readability of charts, especially when dealing with smaller datasets where clear and distinct x-axis labels are crucial.
Additional information:
by specifying type as category or explicitly specilfying tickvals and ticktext doesn't suit well for large dataset.
Screenshot
The text was updated successfully, but these errors were encountered: