OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

customize color in pie chart using openpyxl

  • Thread starter Thread starter Taufique Alam
  • Start date Start date
T

Taufique Alam

Guest
I have drawn a pie chart using openpyxl which contains the following data.

Code:
data = [
        ['Gas', 100],
        ['Coal', 200],
        ['HFO', 300],
        ['HSD', 400],
        ['Hydro', 500],
    ]

I would like to customize each wedge with different color. Please provide a solution.
<p>I have drawn a pie chart using openpyxl which contains the following data.</p>
<pre><code>data = [
['Gas', 100],
['Coal', 200],
['HFO', 300],
['HSD', 400],
['Hydro', 500],
]
</code></pre>
<p>I would like to customize each wedge with different color. Please provide a solution.</p>
 

Online statistics

Members online
0
Guests online
3
Total visitors
3
Top