{"id":17615,"date":"2024-08-20T05:42:39","date_gmt":"2024-08-20T05:42:39","guid":{"rendered":"https:\/\/www.anychart.com\/blog\/?p=17615"},"modified":"2024-08-20T18:29:18","modified_gmt":"2024-08-20T18:29:18","slug":"gantt-chart-data-grid-header-font","status":"publish","type":"post","link":"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/","title":{"rendered":"JavaScript Gantt Chart with Custom Data Grid Header Font \u2014 JS Chart Tips"},"content":{"rendered":"<p><a href=\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\"><img decoding=\"async\" src=\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code.png\" alt=\"A screenshot of a JavaScript Gantt chart with custom data grid header font, displayed with JS code, explained in this edition of JS Chart Tips on AnyChart Blog\" width=\"100%\" class=\"alignnone size-full wp-image-17927\" srcset=\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code.png 1336w, https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code-300x159.png 300w, https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code-768x408.png 768w, https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code-1024x544.png 1024w\" sizes=\"(max-width: 1336px) 100vw, 1336px\" \/><\/a>Hey everyone! We\u2019re excited to launch a new regular feature on our blog called <a href=\"https:\/\/www.anychart.com\/blog\/category\/js-chart-tips\/\" target=\"_blank\">JS Chart Tips<\/a>. In this series, we\u2019ll share some recent cases handled by our <a href=\"https:\/\/www.anychart.com\/support\/\" target=\"_blank\">Support Team<\/a> for users of our <a href=\"https:\/\/www.anychart.com\" target=\"_blank\">JavaScript charting library<\/a>, highlighting both frequent questions and those unique solutions that shouldn\u2019t remain hidden.<\/p>\n<p>Whether these scenarios directly resonate with a challenge you\u2019re facing or simply spark an idea for your current or future data visualization development tasks, we hope you\u2019ll find valuable insights. Each entry will include code snippets and\u00a0JS chart examples to illustrate the solutions. If you get additional questions or need more details, simply comment below or contact our Support Team directly. We\u2019re here to help enhance your JavaScript charting experience!<\/p>\n<p>Without further ado, welcome to the first edition of JS Chart Tips! Today, you\u2019ll learn how to customize the font of the data grid header in a JavaScript <a href=\"https:\/\/www.anychart.com\/chartopedia\/chart-type\/gantt-chart\/\" target=\"_blank\">Gantt chart<\/a>.<\/p>\n<p><!--more--><\/p>\n<h2>Question:\u00a0How to\u00a0Change\u00a0Font Size in Gantt Chart&#8217;s Data Grid Header?<\/h2>\n<p>Customization of texts in various elements of JavaScript charts is a frequent need. Recently, one of our customers reached out to our Support Team with a specific request: they wanted to adjust the font size of the label in the table header of a Gantt chart but could not get it to work and sought our guidance. The customer also attached a picture to illustrate exactly which text they wanted to customize, which looked like the following:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-annotated-sketch.png\" alt=\"Sketch showing the area a customer wanted to customize in a Gantt chart created with JavaScript\" width=\"65%\" class=\"alignnone size-full wp-image-17915\" srcset=\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-annotated-sketch.png 3024w, https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-annotated-sketch-300x78.png 300w, https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-annotated-sketch-768x200.png 768w, https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-annotated-sketch-1024x266.png 1024w\" sizes=\"(max-width: 3024px) 100vw, 3024px\" \/><\/p>\n<p>This situation inspired us to publicly demonstrate how you can personalize those texts in your own Gantt charts, and not\u00a0just the size of the font. Let&#8217;s delve into how to do that.<\/p>\n<h2>Solution:\u00a0Customizing Column Header Font in JS Gantt Chart<\/h2>\n<h3>Overview<\/h3>\n<p>AnyChart provides numerous ways and options to <a href=\"https:\/\/docs.anychart.com\/Appearance_Settings\/Text_Settings\" target=\"_blank\" rel=\"nofollow\">customize texts.<\/a>\u00a0To adjust the font size of the text\u00a0in the data grid header in a Gantt chart, use the <code class=\"javascript\">title()<\/code> method with\u00a0the <code class=\"javascript\">fontSize()<\/code> method. You can also\u00a0utilize\u00a0<code class=\"javascript\">fontColor()<\/code> to change the font color or other methods\u00a0from the <a href=\"https:\/\/api.anychart.com\/anychart.core.ui.Title\" target=\"_blank\" rel=\"nofollow\">anychart.core.ui.Title<\/a> class\u00a0depending\u00a0on your needs.<\/p>\n<h3>In Detail<\/h3>\n<p>First, define which\u00a0column&#8217;s\u00a0title you want to customize. Data grid columns are numbered starting with 0. So, if you need to change the font in the second column, it will be column <code class=\"javascript\">1<\/code>:<\/p>\n<pre><code class=\"javascript\">var column_2 = chart.dataGrid().column(1);<\/code><\/pre>\n<p>Second, use the\u00a0<code class=\"javascript\">fontSize()<\/code>\u00a0method to configure the size of the font in that column:<\/p>\n<pre><code class=\"javascript\">column_2.title().fontSize(52);<\/code><\/pre>\n<p>Here&#8217;s how code for data grid header customization\u00a0can look:<\/p>\n<pre><code class=\"javascript\">\/\/ configure the title of the second data grid column\r\nvar column_2 = chart.dataGrid().column(1);\r\ncolumn_2.title().text(\"TASK\");\r\ncolumn_2.title().fontColor(\"#64b5f6\");\r\ncolumn_2.title().fontWeight(600);\r\ncolumn_2.title().fontSize(52);<\/code><\/pre>\n<h3>Example<\/h3>\n<p>Check out an example of a JS Gantt chart with a custom configuration of the font in the header of the second data grid column and feel free to experiment further with its code and visualization:<\/p>\n<ul>\n<li><a href=\"https:\/\/playground.anychart.com\/pbnQLurU\" target=\"_blank\" rel=\"nofollow\">JS Gantt Chart with Customized Data Grid Header Text | AnyChart Playground<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/playground.anychart.com\/pbnQLurU\" target=\"_blank\" rel=\"nofollow\"><img decoding=\"async\" src=\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/JS-Gantt-Chart-with-Customized-Data-Grid-Header-Text.png\" alt=\"JS Gantt Chart with Customized Data Grid Header Text\" width=\"100%\" class=\"alignnone size-full wp-image-17914\" srcset=\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/JS-Gantt-Chart-with-Customized-Data-Grid-Header-Text.png 2062w, https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/JS-Gantt-Chart-with-Customized-Data-Grid-Header-Text-300x68.png 300w, https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/JS-Gantt-Chart-with-Customized-Data-Grid-Header-Text-768x174.png 768w, https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/JS-Gantt-Chart-with-Customized-Data-Grid-Header-Text-1024x232.png 1024w\" sizes=\"(max-width: 2062px) 100vw, 2062px\" \/><\/a><\/p>\n<h2>Further Learning<\/h2>\n<p>Learn more about formatting\u00a0titles of the\u00a0data grid columns of Gantt charts in the documentation:<\/p>\n<ul>\n<li><a href=\"https:\/\/docs.anychart.com\/Gantt_Chart\/Data_Grid\/Columns#title\" target=\"_blank\" rel=\"nofollow\">Title \u2014 Columns \u2014 Data Grid \u2014 Gantt Chart | AnyChart JS Documentation<\/a><\/li>\n<\/ul>\n<h2>Wrapping Up<\/h2>\n<p>If you have any questions or need further assistance, feel free to leave a comment or contact our\u00a0<a href=\"https:\/\/www.anychart.com\/support\/\" target=\"_blank\">Support Team<\/a>\u00a0directly.<\/p>\n<p>Stay tuned for our\u00a0<a href=\"https:\/\/www.anychart.com\/blog\/category\/js-chart-tips\" target=\"_blank\">JavaScript Chart Tips<\/a>\u00a0series as we&#8217;ll continue to share valuable\u00a0insights and tricks.<\/p>\n<p><strong>Happy JavaScript charting!<\/strong><\/p>\n<p><!-- SyntaxHighlighter --><link rel=\"stylesheet\" href=\"\/\/cdnjs.cloudflare.com\/ajax\/libs\/highlight.js\/9.12.0\/styles\/default.min.css\"><link rel=\"stylesheet\" href=\"\/\/cdnjs.cloudflare.com\/ajax\/libs\/highlight.js\/9.12.0\/styles\/atom-one-light.min.css\"><script src=\"\/\/cdnjs.cloudflare.com\/ajax\/libs\/highlight.js\/9.12.0\/highlight.min.js\"><\/script><script>hljs.initHighlightingOnLoad();<\/script><\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>Hey everyone! We\u2019re excited to launch a new regular feature on our blog called JS Chart Tips. In this series, we\u2019ll share some recent cases handled by our Support Team for users of our JavaScript charting library, highlighting both frequent questions and those unique solutions that shouldn\u2019t remain hidden. Whether these scenarios directly resonate with [&hellip;]<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":9,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,16,8,17,23,13,3780,4],"tags":[53,94,839,1556,35,254,3819,284,166,258,2385,156,3818,471,266,620,1292,880,806,3352,509,3822,3823,2220,54,1760,256,1111,165,313,1370,133,774,3821,2759,39,3820,2013,2014,32,55,146,36,141,249,3111,81,57,148,99,3586,58,65,56,3526,3824,3816,3817,1790,227,1904,228,30,954,3494,2015,2816,1763,804,3599,3600,3406,3407],"class_list":["post-17615","post","type-post","status-publish","format-standard","hentry","category-anychart-charting-component","category-anygantt","category-business-intelligence","category-gantt-chart","category-html5","category-javascript","category-js-chart-tips","category-tips-and-tricks","tag-anychart","tag-anygantt","tag-business","tag-business-analytics","tag-business-intelligence","tag-chart","tag-chart-customization","tag-chart-examples","tag-charting","tag-charts","tag-coding","tag-customizability","tag-customization","tag-data-analysis","tag-data-analytics","tag-data-analytics-examples","tag-data-chart","tag-data-charting","tag-data-charts","tag-data-graphic","tag-data-graphics","tag-data-grid","tag-data-grid-customization","tag-data-visual","tag-data-visualization","tag-data-visualization-design","tag-data-visualization-examples","tag-data-visualization-practice","tag-data-visualizations","tag-data-visuals","tag-data-viz-examples","tag-dataviz","tag-dataviz-examples","tag-font-customization","tag-gantt","tag-gantt-chart","tag-gantt-chart-customization","tag-html","tag-html-charts","tag-html5","tag-html5-charts","tag-interactive-data-visualization","tag-javascript","tag-javascript-charting","tag-javascript-charting-api","tag-javascript-charting-features","tag-javascript-charting-library","tag-javascript-charts","tag-javascript-gantt-charts","tag-javascript-library","tag-js","tag-js-chart","tag-js-charting","tag-js-charts","tag-js-library","tag-organization","tag-project-data","tag-project-data-visualization","tag-project-gantt-chart","tag-project-management","tag-resource-gantt-chart","tag-resource-management","tag-tips-and-tricks","tag-visual-data-analytics","tag-web-chart","tag-web-charts","tag-web-design","tag-web-developers","tag-web-development","tag-web-page","tag-web-project","tag-website","tag-website-development","wpautop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>JavaScript Gantt Chart with Custom Data Grid Header Font | JS Chart Tips<\/title>\n<meta name=\"description\" content=\"Welcome to the first edition of JS Chart Tips! Today, you\u2019ll learn how to customize the font of the data grid header in a JavaScript Gantt chart.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JS Gantt Chart with Custom Data Grid Header Font | JS Chart Tips\" \/>\n<meta property=\"og:description\" content=\"Welcome to the first edition of JS Chart Tips! Learn how to customize the font of the data grid header in a JavaScript Gantt chart.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/\" \/>\n<meta property=\"og:site_name\" content=\"AnyChart News\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/AnyCharts\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-20T05:42:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-08-20T18:29:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code-og.png\" \/>\n<meta name=\"author\" content=\"AnyChart Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"JS Gantt Chart with Custom Data Grid Header Font | JS Chart Tips\" \/>\n<meta name=\"twitter:description\" content=\"Welcome to the first edition of JS Chart Tips! Learn how to customize the font of the data grid header in a JavaScript Gantt chart.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code-og.png\" \/>\n<meta name=\"twitter:creator\" content=\"@AnyChart\" \/>\n<meta name=\"twitter:site\" content=\"@AnyChart\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"AnyChart Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/\"},\"author\":{\"name\":\"AnyChart Team\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/2470e26e58231357db6d9993ecd6461b\"},\"headline\":\"JavaScript Gantt Chart with Custom Data Grid Header Font \u2014 JS Chart Tips\",\"datePublished\":\"2024-08-20T05:42:39+00:00\",\"dateModified\":\"2024-08-20T18:29:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/\"},\"wordCount\":537,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code.png\",\"keywords\":[\"AnyChart\",\"AnyGantt\",\"business\",\"business analytics\",\"Business Intelligence\",\"chart\",\"chart customization\",\"chart examples\",\"charting\",\"charts\",\"coding\",\"Customizability\",\"customization\",\"data analysis\",\"data analytics\",\"data analytics examples\",\"data chart\",\"data charting\",\"data charts\",\"data graphic\",\"data graphics\",\"data grid\",\"data grid customization\",\"data visual\",\"Data Visualization\",\"data visualization design\",\"data visualization examples\",\"data visualization practice\",\"data visualizations\",\"data visuals\",\"data viz examples\",\"dataviz\",\"dataviz examples\",\"font customization\",\"gantt\",\"Gantt Chart\",\"Gantt chart customization\",\"HTML\",\"HTML charts\",\"HTML5\",\"html5 charts\",\"interactive data visualization\",\"JavaScript\",\"javascript charting\",\"javascript charting api\",\"JavaScript charting features\",\"JavaScript charting library\",\"javascript charts\",\"javascript gantt charts\",\"JavaScript library\",\"js\",\"js chart\",\"js charting\",\"js charts\",\"js library\",\"organization\",\"project data\",\"project data visualization\",\"project gantt chart\",\"project management\",\"Resource Gantt Chart\",\"resource management\",\"Tips and tricks\",\"visual data analytics\",\"web chart\",\"web charts\",\"web design\",\"web developers\",\"web development\",\"web page\",\"web project\",\"website\",\"website development\"],\"articleSection\":[\"AnyChart Charting Component\",\"AnyGantt\",\"Business Intelligence\",\"Gantt Chart\",\"HTML5\",\"JavaScript\",\"JS Chart Tips\",\"Tips and Tricks\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/\",\"url\":\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/\",\"name\":\"JavaScript Gantt Chart with Custom Data Grid Header Font | JS Chart Tips\",\"isPartOf\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code.png\",\"datePublished\":\"2024-08-20T05:42:39+00:00\",\"dateModified\":\"2024-08-20T18:29:18+00:00\",\"author\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/2470e26e58231357db6d9993ecd6461b\"},\"description\":\"Welcome to the first edition of JS Chart Tips! Today, you\u2019ll learn how to customize the font of the data grid header in a JavaScript Gantt chart.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#primaryimage\",\"url\":\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code.png\",\"contentUrl\":\"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code.png\",\"width\":1336,\"height\":710},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.anychart.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JavaScript Gantt Chart with Custom Data Grid Header Font \u2014 JS Chart Tips\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#website\",\"url\":\"https:\/\/www.anychart.com\/blog\/\",\"name\":\"AnyChart News\",\"description\":\"AnyChart JS Charts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.anychart.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/2470e26e58231357db6d9993ecd6461b\",\"name\":\"AnyChart Team\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4faeb24a1b553a1b071b765bfad138c00441a955b3a631c7564624ceeafdf884?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4faeb24a1b553a1b071b765bfad138c00441a955b3a631c7564624ceeafdf884?s=96&r=g\",\"caption\":\"AnyChart Team\"},\"sameAs\":[\"https:\/\/www.anychart.com\"],\"url\":\"https:\/\/www.anychart.com\/blog\/author\/andrey-khachaturov\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JavaScript Gantt Chart with Custom Data Grid Header Font | JS Chart Tips","description":"Welcome to the first edition of JS Chart Tips! Today, you\u2019ll learn how to customize the font of the data grid header in a JavaScript Gantt chart.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/","og_locale":"en_US","og_type":"article","og_title":"JS Gantt Chart with Custom Data Grid Header Font | JS Chart Tips","og_description":"Welcome to the first edition of JS Chart Tips! Learn how to customize the font of the data grid header in a JavaScript Gantt chart.","og_url":"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/","og_site_name":"AnyChart News","article_publisher":"https:\/\/www.facebook.com\/AnyCharts","article_published_time":"2024-08-20T05:42:39+00:00","article_modified_time":"2024-08-20T18:29:18+00:00","og_image":[{"url":"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code-og.png","type":"","width":"","height":""}],"author":"AnyChart Team","twitter_card":"summary_large_image","twitter_title":"JS Gantt Chart with Custom Data Grid Header Font | JS Chart Tips","twitter_description":"Welcome to the first edition of JS Chart Tips! Learn how to customize the font of the data grid header in a JavaScript Gantt chart.","twitter_image":"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code-og.png","twitter_creator":"@AnyChart","twitter_site":"@AnyChart","twitter_misc":{"Written by":"AnyChart Team","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#article","isPartOf":{"@id":"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/"},"author":{"name":"AnyChart Team","@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/2470e26e58231357db6d9993ecd6461b"},"headline":"JavaScript Gantt Chart with Custom Data Grid Header Font \u2014 JS Chart Tips","datePublished":"2024-08-20T05:42:39+00:00","dateModified":"2024-08-20T18:29:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/"},"wordCount":537,"commentCount":0,"image":{"@id":"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#primaryimage"},"thumbnailUrl":"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code.png","keywords":["AnyChart","AnyGantt","business","business analytics","Business Intelligence","chart","chart customization","chart examples","charting","charts","coding","Customizability","customization","data analysis","data analytics","data analytics examples","data chart","data charting","data charts","data graphic","data graphics","data grid","data grid customization","data visual","Data Visualization","data visualization design","data visualization examples","data visualization practice","data visualizations","data visuals","data viz examples","dataviz","dataviz examples","font customization","gantt","Gantt Chart","Gantt chart customization","HTML","HTML charts","HTML5","html5 charts","interactive data visualization","JavaScript","javascript charting","javascript charting api","JavaScript charting features","JavaScript charting library","javascript charts","javascript gantt charts","JavaScript library","js","js chart","js charting","js charts","js library","organization","project data","project data visualization","project gantt chart","project management","Resource Gantt Chart","resource management","Tips and tricks","visual data analytics","web chart","web charts","web design","web developers","web development","web page","web project","website","website development"],"articleSection":["AnyChart Charting Component","AnyGantt","Business Intelligence","Gantt Chart","HTML5","JavaScript","JS Chart Tips","Tips and Tricks"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/","url":"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/","name":"JavaScript Gantt Chart with Custom Data Grid Header Font | JS Chart Tips","isPartOf":{"@id":"https:\/\/www.anychart.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#primaryimage"},"image":{"@id":"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#primaryimage"},"thumbnailUrl":"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code.png","datePublished":"2024-08-20T05:42:39+00:00","dateModified":"2024-08-20T18:29:18+00:00","author":{"@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/2470e26e58231357db6d9993ecd6461b"},"description":"Welcome to the first edition of JS Chart Tips! Today, you\u2019ll learn how to customize the font of the data grid header in a JavaScript Gantt chart.","breadcrumb":{"@id":"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#primaryimage","url":"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code.png","contentUrl":"https:\/\/www.anychart.com\/blog\/wp-content\/uploads\/2024\/08\/gantt-chart-with-custom-data-grid-header-font-with-js-code.png","width":1336,"height":710},{"@type":"BreadcrumbList","@id":"https:\/\/www.anychart.com\/blog\/2024\/08\/20\/gantt-chart-data-grid-header-font\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.anychart.com\/blog\/"},{"@type":"ListItem","position":2,"name":"JavaScript Gantt Chart with Custom Data Grid Header Font \u2014 JS Chart Tips"}]},{"@type":"WebSite","@id":"https:\/\/www.anychart.com\/blog\/#website","url":"https:\/\/www.anychart.com\/blog\/","name":"AnyChart News","description":"AnyChart JS Charts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.anychart.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/2470e26e58231357db6d9993ecd6461b","name":"AnyChart Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.anychart.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4faeb24a1b553a1b071b765bfad138c00441a955b3a631c7564624ceeafdf884?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4faeb24a1b553a1b071b765bfad138c00441a955b3a631c7564624ceeafdf884?s=96&r=g","caption":"AnyChart Team"},"sameAs":["https:\/\/www.anychart.com"],"url":"https:\/\/www.anychart.com\/blog\/author\/andrey-khachaturov\/"}]}},"_links":{"self":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts\/17615","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/comments?post=17615"}],"version-history":[{"count":44,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts\/17615\/revisions"}],"predecessor-version":[{"id":17955,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/posts\/17615\/revisions\/17955"}],"wp:attachment":[{"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/media?parent=17615"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/categories?post=17615"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.anychart.com\/blog\/wp-json\/wp\/v2\/tags?post=17615"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}