{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "spreadsheet-graphic-cell",
  "framework": "winforms",
  "type": "registry:component",
  "component": "Spreadsheet",
  "variant": "graphic-cell",
  "dependencies": [
    "Syncfusion.Spreadsheet.Windows"
  ],
  "description": "Spreadsheet with a registered graphic chart cell renderer that shows a tiny live chart for each numeric row of the data range.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/winforms/llms.txt",
    "skillPack": "syncfusion/winforms-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/winforms/spreadsheet-graphic-cell.md"
  },
  "files": [
    {
      "target": "src/components/spreadsheet-graphic-cell/spreadsheet.Designer.cs",
      "content": "using System;\nusing System.ComponentModel;\nusing System.Drawing;\nusing System.Windows.Forms;\nusing Syncfusion.Windows.Forms.Spreadsheet;\n\nnamespace SpreadsheetGraphicCell\n{\n    partial class Form1\n    {\n        /// <summary>\n        /// Required designer variable.\n        /// </summary>\n        private IContainer components = null;\n\n        /// <summary>\n        /// Clean up any resources being used.\n        /// </summary>\n        protected override void Dispose(bool disposing)\n        {\n            if (disposing && (components != null))\n            {\n                components.Dispose();\n            }\n            base.Dispose(disposing);\n        }\n\n        #region Windows Form Designer generated code\n\n        /// <summary>\n        /// Required method for Designer support - do not modify\n        /// the contents of this method with the code editor.\n        /// </summary>\n        private void InitializeComponent()\n        {\n            this.components = new System.ComponentModel.Container();\n            this.spreadsheet = new Spreadsheet();\n            this.spreadsheetRibbon = new SpreadsheetRibbon();\n            this.SuspendLayout();\n            //\n            // spreadsheetRibbon\n            //\n            this.spreadsheetRibbon.Location = new System.Drawing.Point(0, 0);\n            this.spreadsheetRibbon.Name = \"spreadsheetRibbon\";\n            this.spreadsheetRibbon.Size = new System.Drawing.Size(1032, 150);\n            this.spreadsheetRibbon.TabIndex = 1;\n            //\n            // spreadsheet\n            //\n            this.spreadsheet.Dock = System.Windows.Forms.DockStyle.Fill;\n            this.spreadsheet.Name = \"spreadsheet\";\n            this.spreadsheet.Size = new System.Drawing.Size(1032, 461);\n            this.spreadsheet.TabIndex = 0;\n            this.spreadsheet.Text = \"spreadsheet\";\n            //\n            // Form1\n            //\n            this.Controls.Add(this.spreadsheet);\n            this.Controls.Add(this.spreadsheetRibbon);\n            this.Icon = new System.Drawing.Icon(SpreadsheetGraphicCellDataSource.GetIconPath());\n            this.Name = \"Form1\";\n            this.Text = \"Graphic Cell\";\n            this.Load += new System.EventHandler(this.Form1_Load);\n            this.ResumeLayout(true);\n\n        }\n\n        #endregion\n    }\n}\n"
    },
    {
      "target": "src/components/spreadsheet-graphic-cell/spreadsheet.cs",
      "content": "using System;\nusing System.Drawing;\nusing System.Windows.Forms;\nusing Syncfusion.Windows.Forms.Spreadsheet;\nusing Syncfusion.Windows.Forms.Spreadsheet.GraphicCells;\nusing Syncfusion.Windows.Forms.SpreadsheetHelper;\nusing Syncfusion.Windows.Forms.Tools;\nnamespace SpreadsheetGraphicCell\n{\n    /// <summary>\n    /// Demonstrates rendering images, charts and rich text inside graphic cells\n    /// of a Syncfusion Spreadsheet.\n    /// </summary>\n    public partial class Form1 : RibbonForm\n    {\n        private Spreadsheet spreadsheet;\n        private SpreadsheetRibbon spreadsheetRibbon;\n\n        public Form1()\n        {\n            InitializeComponent();\n        }\n\n        /// <summary>\n        /// Registers the graphic chart cell renderer so that the charts embedded\n        /// in the workbook's graphic cells are drawn.\n        /// </summary>\n        private void Form1_Load(object sender, EventArgs e)\n        {\n            GraphicCellHelper.AddGraphicChartCellRenderer(this.spreadsheet, new GraphicChartCellRenderer());\n            OpenWorkbook();\n        }\n\n        /// <summary>\n        /// Opens the workbook that ships with this sample.\n        /// </summary>\n        private void OpenWorkbook()\n        {\n            string workbookPath = SpreadsheetGraphicCellDataSource.GetWorkbookPath();\n            if (System.IO.File.Exists(workbookPath))\n            {\n                this.spreadsheet.Open(workbookPath);\n            }\n        }\n\n        /// <summary>\n        /// Provides support for an Excel-like closing operation when the close\n        /// button is pressed.\n        /// </summary>\n        protected override void OnFormClosing(FormClosingEventArgs e)\n        {\n            if (e.CloseReason != CloseReason.ApplicationExitCall)\n            {\n                this.spreadsheet.Commands.FileClose.Execute(null);\n                e.Cancel = true;\n            }\n            base.OnFormClosing(e);\n        }\n    }\n}\n"
    }
  ]
}