yiwenmu1 opened a new issue, #21881:
URL: https://github.com/apache/echarts/issues/21881

   ### Version
   
   6.1.0
   
   ### Link to Minimal Reproduction
   
   
https://echarts.apache.org/examples/en/editor.html?c=bar-simple&code=RY6xasNAEER7f8VCimtUOTYBhRQm7hNsSAqjYiWt5IP1rblbJRJC_549OyHdzc7cvJGregnwAvMKAIO_YNYldMiJCrupCNcyljBH35-1hG0BHaEOkezWouKHp-9sE7Zvgae_v8AY-hJObm8ZyCFXgHtlSZQfB-oipbOrlmXJnHE3-mQ1Ol2t2DWo1EucLJoZ1mMZgPkLecj-rtEB2VylUY86cV7TCEs086Fp1uvNxtxOgn7SfbirhVtnNHDvts1ZYXVDT7_om0gUPZk6zQEvmXREppRB92E1xv9NTwU8Vku1Wp5_AA&enc=deflate
   
   ### Steps to Reproduce
   
   1. Open the example. On the x-axis, **Actual** is red and bold. **Plan** 
uses the default style.
   2. Open **Data View** from the chart toolbar. Leave both rows unchanged and 
click **Close**. **Actual** keeps its style.
   3. Open **Data View** again. Leave both rows unchanged and click **Refresh** 
inside the panel.
   
   ### Current Behavior
   
   After step 3, **Actual** becomes gray and regular-weight. The bars still 
represent 7 and 3. The chart configuration also changes. Reading 
`getOption().xAxis[0].data[0]` before and after the refresh gives:
   
   ```js
   // Before Refresh, and after Close
   { value: 'Actual', textStyle: { color: '#cc2244', fontWeight: 'bold' } }
   
   // After Refresh
   'Actual'
   ```
   
   ### Expected Behavior
   
   Refreshing an unchanged table should preserve the style assigned to each 
category label. The table contains category names and series values, with no 
field for editing label styles.
   
   ### Environment
   
   ```markdown
   - ECharts 6.1.0 with the built-in Data View and no custom callbacks
   - macOS 27.2.1 (arm64), Chrome 158.0.8127.38
   - Standalone JavaScript, SVG renderer for the local measurements
   ```
   
   ### Any additional comments?
   
   In 11 automated browser runs, the SVG label kept its original fill 
(`#cc2244`) and font weight (700) after **Close**. After **Refresh**, its fill 
was `#54555a` and its weight was 400 each time. AI assisted with designing and 
running the automated checks and drafting this report.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

  • [I] [Bug] Data View refresh d... yiwenmu1 (via GitHub) via commits

Reply via email to