fix xychart test cases

This commit is contained in:
darshanr0107
2025-06-17 13:52:04 +05:30
parent a3d164fde8
commit 8224a81ab6
2 changed files with 2 additions and 2 deletions

View File

@@ -29,8 +29,8 @@
<acc_descr_multiline>"{" { this.popState(); }
<acc_descr_multiline>[^\}]* { return "acc_descr_multiline_value"; }
"xychart" {return 'XYCHART';}
"xychart-beta" {return 'XYCHART';}
"xychart" {return 'XYCHART';}
(?:"vertical"|"horizontal") {return 'CHART_ORIENTATION'}
"x-axis" { this.pushState("axis_data"); return "X_AXIS"; }

View File

@@ -407,7 +407,7 @@ describe('Testing xychart jison file', () => {
it('parse multiple bar and line variant 2', () => {
const str = `
xychart horizontal
title Basic xychart
title "Basic xychart"
x-axis "this is x axis" [category1, "category 2", category3]
y-axis yaxisText 10 --> 150
bar barTitle1 [23, 45, 56.6]