FERNman / angular-google-charts

A wrapper for the Google Charts library written in Angular.
Other
268 stars 105 forks source link

Title not working in Gantt Chart. #266

Open prasadsheetal opened 2 years ago

prasadsheetal commented 2 years ago

Bug Report

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

Description

A clear and concise description of what the bug is.

To reproduce

Steps to reproduce the behaviour:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behaviour

A clear and concise description of what you expected to happen.

Exception or Error





Your environment



Anything else?

Add any other context about the problem here.

umernaeem217 commented 2 years ago

Can you share some code snippets?

prasadsheetal commented 2 years ago

this.charts.push({ title: 'Gantt Chart', type: ChartType.Gantt, // columns: ['Task ID','Task Name','Start Date','End Date','Duration','Percent Complete','Dependencies'], data: [ ['Research', 'Find sources', new Date(2015, 0, 1), new Date(2015, 0, 5), null, 100, null], ['Write', 'Write paper', null, new Date(2015, 0, 9), daysToMilliseconds(3), 25, 'Research,Outline'], ['Cite', 'Create bibliography', null, new Date(2015, 0, 7), daysToMilliseconds(1), 20, 'Research'], ['Complete', 'Hand in paper', null, new Date(2015, 0, 10), daysToMilliseconds(1), 0, 'Cite,Write'], ['Outline', 'Outline paper', null, new Date(2015, 0, 6), daysToMilliseconds(1), 100, 'Research'] ], options: { height: 275 } });

prasadsheetal commented 2 years ago

gAntt chArt.docx