Skip to content

Commit

Permalink
Refactor copilot seat component by standardizing object property synt…
Browse files Browse the repository at this point in the history
…ax and enhancing chart options for better readability
  • Loading branch information
austenstone committed Nov 20, 2024
1 parent d9ee4c2 commit 7839ee9
Showing 1 changed file with 20 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,34 @@ export class CopilotSeatComponent implements OnInit {
Highcharts: typeof Highcharts = Highcharts;
updateFlag = false;
chartOptions: Highcharts.Options = {
"title": {
"text": "Seat Activity by Editor"
title: {
text: "Seat Activity by Editor"
},
"xAxis": {
"type": "datetime"
xAxis: {
type: "datetime"
},
legend: {
enabled: false
},
"series": [
series: [
{
"name": "Seat Activity",
"type": "gantt",
"data": []
name: "Seat Activity",
type: "gantt",
data: []
}
],
"tooltip": {},
"yAxis": {
"categories": [
plotOptions: {
gantt: {
borderWidth: 0,
borderColor: undefined,
dataLabels: {
enabled: true
}
}
},
tooltip: {},
yAxis: {
categories: [
"vscode",
"copilot-summarization-pr"
]
Expand Down

0 comments on commit 7839ee9

Please sign in to comment.