IRONSOFTWAREHOME
엑셀 차트 만들기
from ironxl import *

# Load the Excel workbook
workbook = WorkBook.Load("test.xlsx")
worksheet = workbook.DefaultWorkSheet

# Set the chart type and its position on the worksheet.
chart = worksheet.CreateChart(ChartType.Line, 10, 10, 18, 20)

# Add the series to the chart
# The first parameter represents the address of the range for the horizontal(category) axis.
# The second parameter represents the address of the range for the vertical(value) axis.
series = chart.AddSeries("B3:B8", "A3:A8")

# Set the chart title.
series.Title = "Line Chart"

# Set the legend position.
# Can be removed by setting it to None.
chart.SetLegendPosition(LegendPosition.Bottom)

# We can change the position of the chart.
chart.Position.LeftColumnIndex = 2
chart.Position.RightColumnIndex = chart.Position.LeftColumnIndex + 3

# Plot all the data that was added to the chart before.
# Multiple calls to this method lead to plotting multiple charts instead of modifying the existing chart.
# Yet there is no possibility to remove a chart or edit its series/position.
# We can just create a new one.
chart.Plot()

# Save changes with the created line chart
workbook.SaveAs("CreateLineChart.xlsx")
pip install ironxl
엑셀 차트 만들기

엑셀 차트 만들기

IronXL for Python은 최신 XLSX 파일 형식의 Excel 문서 내에서 차트를 생성하고 편집하는 기능을 지원합니다.

이 예제는 선형 차트를 만드는 방법을 보여줍니다. 다른 차트 유형도 지원됩니다.

Python Excel 차트 생성 및 편집 가이드를 탐색하세요

시작할 준비 되셨나요?

버전:2026.10방금 출시

Key in blue circle

무료 30일 체험 키를 즉시 받으세요.

Your trial license will be sent to your email address

제한 없음. 100% 무제한 이용. 신용카드 불필요.

bullet_checked신용카드나 계정 생성은 필요하지 않습니다.제한 없음. 100% 무제한 이용. 신용카드 불필요.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
Join Millions of Engineers who’ve tried IronXL for Python
무료 라이브 데모를 예약하세요
Booking Badge

전 세계 수백만 엔지니어들이 신뢰하는 제품입니다.

Iron Software의 고객 로고
부담 없는 무료 상담을 받아보세요
고객님의 정보는 항상 비밀로 유지됩니다.
  • Logo Aetna
  • Logo NASA
  • Logo GE
  • Logo Porsche
  • Logo USDA
  • Logo Qatar
전 세계 수백만 엔지니어들이 신뢰하는 제품입니다.
지금 바로 30일 무료 체험판 키를 받으세요.
신용카드나 계정 생성은 필요하지 않습니다.
Excel을 위한 Python 모듈 다운로드
pip를 사용하여 설치하세요

버전: 2026.10

  1. Python 3.7 이상 버전 을 다운로드 하여 설치하세요.
  2. pip가 설치되어 있지 않다면 pypi.org 에서 설치하세요.
  3. 위 명령어를 터미널에서 실행하세요.
Python PDF 모듈
다운로드 모듈

버전: 2026.10

프로젝트에 수동으로 설치하세요

  1. 패키지를 다운로드하세요
  2. 터미널에서 이 명령어를 실행하세요
     pip install IronXL-2026.10-py37-none-win_amd64.whi

$999 부터 시작하는 라이선스