簡體   English   中英

如果條形編號為負數而正數條形為另一種顏色,我如何為圖表設置條件格式? xlxswriter

[英]how can i have conditional formatting for a graph if the bar number is negative and another colour for positive bar? xlxswriter

嗨,如果數字為負數而另一個正數,我正在尋找一種方法來對圖表進行條件格式設置。 這可能與 python 中的 xlxswriter 有關嗎

有一個 XlsxWriter 圖表。 add_series()選項稱為invert_if_negative ,它模仿同名的 Excel 功能。

但是,目前無法設置顏色,例如在較新版本的 Excel 中。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM