Lines formatted so all series from a single source sheet has same style, is different between source sheets, and each type uses same colors. #5

Open
opened 2025-08-13 21:37:32 +00:00 by brightside · 0 comments
Owner

People typically:

  • Set the chart type and data range.
    
  • Then, manually customize series styles using macros recorded or with the GUI.
    
  • Or try to set series colors/styles by iterating over the diagram's series properties if available.
    

What can you do in your case?

Since your current approach with getDataSeries() or getSeries() doesn’t work, and LibreOffice Basic lacks direct support, you can try the following:

  • Remove the lines where you get the series collection and assign colors/styles via script.
    
  • Let the chart draw with default styles.
    
  • Optionally, you can record a macro in LibreOffice to see how it modifies series styles and try to adapt it.
    
People typically: - Set the chart type and data range. - Then, manually customize series styles using macros recorded or with the GUI. - Or try to set series colors/styles by iterating over the diagram's series properties if available. What can you do in your case? Since your current approach with getDataSeries() or getSeries() doesn’t work, and LibreOffice Basic lacks direct support, you can try the following: - Remove the lines where you get the series collection and assign colors/styles via script. - Let the chart draw with default styles. - Optionally, you can record a macro in LibreOffice to see how it modifies series styles and try to adapt it.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: brightside/Weather-Generator#5