@operato/scene-scichart 7.2.7 → 8.0.0-alpha.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/db.sqlite +0 -0
  3. package/dist/charts/ox-scichart-multiple.js +5 -7
  4. package/dist/charts/ox-scichart-multiple.js.map +1 -1
  5. package/logs/.08636eb59927f12972f6774f5947c8507b3564c2-audit.json +6 -46
  6. package/logs/.5e5d741d8b7784a2fbad65eedc0fd46946aaf6f2-audit.json +6 -101
  7. package/logs/{application-2024-08-03-11.log → application-2024-08-26-00.log} +10 -8
  8. package/logs/{application-2024-08-04-04.log → application-2024-08-26-01.log} +26 -129
  9. package/logs/connections-2024-08-26-00.log +50 -0
  10. package/logs/connections-2024-08-26-01.log +150 -0
  11. package/package.json +3 -3
  12. package/schema.graphql +258 -19
  13. package/src/charts/ox-scichart-multiple.ts +8 -8
  14. package/tsconfig.tsbuildinfo +1 -1
  15. package/dist/charts/ox-scichart-multiple copy.d.ts +0 -53
  16. package/dist/charts/ox-scichart-multiple copy.js +0 -411
  17. package/dist/charts/ox-scichart-multiple copy.js.map +0 -1
  18. package/dist/charts/scichart-builder copy.d.ts +0 -22
  19. package/dist/charts/scichart-builder copy.js +0 -420
  20. package/dist/charts/scichart-builder copy.js.map +0 -1
  21. package/dist/charts/scichart-overview-builder.d.ts +0 -13
  22. package/dist/charts/scichart-overview-builder.js +0 -219
  23. package/dist/charts/scichart-overview-builder.js.map +0 -1
  24. package/logs/application-2024-08-03-01.log +0 -210
  25. package/logs/application-2024-08-03-02.log +0 -105
  26. package/logs/application-2024-08-03-13.log +0 -105
  27. package/logs/application-2024-08-03-14.log +0 -105
  28. package/logs/application-2024-08-03-15.log +0 -210
  29. package/logs/application-2024-08-04-01.log +0 -105
  30. package/logs/application-2024-08-04-18.log +0 -2
  31. package/logs/application-2024-08-04-19.log +0 -105
  32. package/logs/connections-2024-07-23-14.log +0 -50
  33. package/logs/connections-2024-07-25-23.log +0 -50
  34. package/logs/connections-2024-07-26-18.log +0 -50
  35. package/logs/connections-2024-07-28-03.log +0 -50
  36. package/logs/connections-2024-07-28-17.log +0 -200
  37. package/logs/connections-2024-07-28-18.log +0 -100
  38. package/logs/connections-2024-07-29-01.log +0 -50
  39. package/logs/connections-2024-07-29-14.log +0 -50
  40. package/logs/connections-2024-07-29-16.log +0 -50
  41. package/logs/connections-2024-07-31-09.log +0 -50
  42. package/logs/connections-2024-08-02-17.log +0 -50
  43. package/logs/connections-2024-08-02-18.log +0 -50
  44. package/logs/connections-2024-08-03-01.log +0 -100
  45. package/logs/connections-2024-08-03-02.log +0 -50
  46. package/logs/connections-2024-08-03-11.log +0 -50
  47. package/logs/connections-2024-08-03-13.log +0 -50
  48. package/logs/connections-2024-08-03-14.log +0 -50
  49. package/logs/connections-2024-08-03-15.log +0 -100
  50. package/logs/connections-2024-08-04-01.log +0 -50
  51. package/logs/connections-2024-08-04-04.log +0 -200
  52. package/logs/connections-2024-08-04-19.log +0 -50
package/schema.graphql CHANGED
@@ -747,7 +747,7 @@ scalar EmailAddress @specifiedBy(url: "https://html.spec.whatwg.org/multipage/in
747
747
  """Entity for Employee"""
748
748
  type Employee {
749
749
  active: Boolean
750
- address: String!
750
+ address: String
751
751
  alias: String
752
752
  approvalLines: [ApprovalLine!]!
753
753
  contact: Contact
@@ -787,9 +787,10 @@ type EmployeeList {
787
787
  input EmployeePatch {
788
788
  active: Boolean
789
789
  alias: String
790
+ contact: ObjectRefForContact
790
791
  controlNo: String
791
792
  cuFlag: String
792
- department: ObjectRef
793
+ department: ObjectRefForDepartment
793
794
  hiredOn: String
794
795
  id: ID
795
796
  jobPosition: String
@@ -1502,7 +1503,9 @@ type Mutation {
1502
1503
  """To activate user"""
1503
1504
  activateUser(userId: String!): Boolean!
1504
1505
 
1505
- """To attach a contact on Employee"""
1506
+ """
1507
+ Attaches an existing contact to an employee. The contact is identified by its ID and the employee is identified by their ID.
1508
+ """
1506
1509
  attachContact(contactId: String!, id: String!): Employee!
1507
1510
  cancelInvitation(email: EmailAddress!, reference: String!, type: String!): Boolean!
1508
1511
 
@@ -1559,7 +1562,9 @@ type Mutation {
1559
1562
  """To create domain (Only superuser is granted this privilege.)"""
1560
1563
  createDomain(domainInput: DomainPatch!): Domain!
1561
1564
 
1562
- """To create new Employee"""
1565
+ """
1566
+ Creates a new employee record with the provided details. Optionally associates the employee with a supervisor, department, and system user. If a photo is provided, it will be attached to the employee record.
1567
+ """
1563
1568
  createEmployee(employee: NewEmployee!): Employee!
1564
1569
 
1565
1570
  """To create new Entity"""
@@ -1610,6 +1615,12 @@ type Mutation {
1610
1615
  """To create new Oauth2Client"""
1611
1616
  createOauth2Client(oauth2Client: NewOauth2Client!): Oauth2Client!
1612
1617
 
1618
+ """To create new PDFRelease"""
1619
+ createPDFRelease(pdfRelease: NewPDFRelease!): PDFRelease!
1620
+
1621
+ """To create new PDFTemplate"""
1622
+ createPDFTemplate(pdfTemplate: NewPDFTemplate!): PDFTemplate!
1623
+
1613
1624
  """To create new PayloadLog"""
1614
1625
  createPayloadLog(payloadLog: NewPayloadLog!): PayloadLog!
1615
1626
 
@@ -1716,10 +1727,14 @@ type Mutation {
1716
1727
  """To delete multiple domains (Only superuser is granted this privilege.)"""
1717
1728
  deleteDomains(names: [String!]!): Boolean!
1718
1729
 
1719
- """To delete Employee"""
1730
+ """
1731
+ Deletes an employee record identified by the given ID. Also deletes any attachments associated with the employee.
1732
+ """
1720
1733
  deleteEmployee(id: String!): Boolean!
1721
1734
 
1722
- """To delete multiple Employees"""
1735
+ """
1736
+ Deletes multiple employee records identified by the given IDs. Also deletes any attachments associated with each employee.
1737
+ """
1723
1738
  deleteEmployees(ids: [String!]!): Boolean!
1724
1739
 
1725
1740
  """To delete multiple Entities"""
@@ -1809,6 +1824,18 @@ type Mutation {
1809
1824
  """To delete multiple Oauth2Clients"""
1810
1825
  deleteOauth2Clients(ids: [String!]!): Boolean!
1811
1826
 
1827
+ """To delete PDFRelease"""
1828
+ deletePDFRelease(id: String!): Boolean!
1829
+
1830
+ """To delete multiple PDFReleases"""
1831
+ deletePDFReleases(ids: [String!]!): Boolean!
1832
+
1833
+ """To delete PDFTemplate"""
1834
+ deletePDFTemplate(id: String!): Boolean!
1835
+
1836
+ """To delete multiple PDFTemplates"""
1837
+ deletePDFTemplates(ids: [String!]!): Boolean!
1838
+
1812
1839
  """To delete PagePreference"""
1813
1840
  deletePagePreference(id: String!): Boolean!
1814
1841
 
@@ -1887,7 +1914,9 @@ type Mutation {
1887
1914
  """To delete some users"""
1888
1915
  deleteUsers(emails: [String!]!): Boolean!
1889
1916
 
1890
- """To detach a contact from Employee"""
1917
+ """
1918
+ Detaches an existing contact from an employee. The employee is identified by their ID.
1919
+ """
1891
1920
  detachContact(id: String!): Employee!
1892
1921
 
1893
1922
  """To disconnect a connection"""
@@ -1929,7 +1958,9 @@ type Mutation {
1929
1958
  """To import multiple Departments"""
1930
1959
  importDepartments(departments: [DepartmentPatch!]!): Boolean!
1931
1960
 
1932
- """To import multiple Employees"""
1961
+ """
1962
+ Imports multiple employee records into the system. Each employee record must be provided in the EmployeePatch format.
1963
+ """
1933
1964
  importEmployees(employees: [EmployeePatch!]!): Boolean!
1934
1965
 
1935
1966
  """To import multiple MenuButtons"""
@@ -1956,6 +1987,12 @@ type Mutation {
1956
1987
  """To import multiple Oauth2Clients"""
1957
1988
  importOauth2Clients(oauth2Clients: [Oauth2ClientPatch!]!): Boolean!
1958
1989
 
1990
+ """To import multiple PDFReleases"""
1991
+ importPDFReleases(pdfReleases: [PDFReleasePatch!]!): Boolean!
1992
+
1993
+ """To import multiple PDFTemplates"""
1994
+ importPDFTemplates(pdfTemplates: [PDFTemplatePatch!]!): Boolean!
1995
+
1959
1996
  """To import multiple scenarios"""
1960
1997
  importScenarios(scenarios: [ScenarioPatch!]!): Boolean!
1961
1998
 
@@ -2003,6 +2040,14 @@ type Mutation {
2003
2040
  visibility: String!
2004
2041
  ): BoardTemplate!
2005
2042
 
2043
+ """
2044
+ Registers an existing employee as a system user, granting them access to the system. The employee is identified by their ID.
2045
+ """
2046
+ registerEmployeeAsSystemUser(
2047
+ """Employee Id"""
2048
+ employeeId: String!
2049
+ ): Boolean!
2050
+
2006
2051
  """To release a Board"""
2007
2052
  releaseBoard(id: String!): Board!
2008
2053
  renewApplicationAccessToken(id: String!, scope: String!): AccessToken!
@@ -2092,7 +2137,9 @@ type Mutation {
2092
2137
  """To update multiple domains (Only superuser is granted this privilege.)"""
2093
2138
  updateDomains(patches: [DomainPatch!]!): Boolean!
2094
2139
 
2095
- """To modify Employee information"""
2140
+ """
2141
+ Updates the details of an existing employee identified by the given ID. Optionally updates the supervisor, department, system user, and photo associated with the employee.
2142
+ """
2096
2143
  updateEmployee(id: String!, patch: EmployeePatch!): Employee!
2097
2144
 
2098
2145
  """To modify Entity' information"""
@@ -2147,7 +2194,9 @@ type Mutation {
2147
2194
  """To modify multiple Departments' information"""
2148
2195
  updateMultipleDepartment(patches: [DepartmentPatch!]!): [Department!]!
2149
2196
 
2150
- """To modify multiple Employees' information"""
2197
+ """
2198
+ Updates or creates multiple employee records based on the provided patches. New employees are created if the "cuFlag" is "+", and existing employees are updated if the "cuFlag" is "M".
2199
+ """
2151
2200
  updateMultipleEmployee(patches: [EmployeePatch!]!): [Employee!]!
2152
2201
 
2153
2202
  """To modify multiple Entitys' information"""
@@ -2168,6 +2217,12 @@ type Mutation {
2168
2217
  """To modify multiple NotificationRules' information"""
2169
2218
  updateMultipleNotificationRule(patches: [NotificationRulePatch!]!): [NotificationRule!]!
2170
2219
 
2220
+ """To modify multiple PDFReleases' information"""
2221
+ updateMultiplePDFRelease(patches: [PDFReleasePatch!]!): [PDFRelease!]!
2222
+
2223
+ """To modify multiple PDFTemplates' information"""
2224
+ updateMultiplePDFTemplate(patches: [PDFTemplatePatch!]!): [PDFTemplate!]!
2225
+
2171
2226
  """To modify multiple PartnerSettings' information"""
2172
2227
  updateMultiplePartnerSetting(patches: [PartnerSettingPatch!]!): [PartnerSetting!]!
2173
2228
 
@@ -2216,6 +2271,12 @@ type Mutation {
2216
2271
  """To modify Oauth2Client information"""
2217
2272
  updateOauth2Client(id: String!, patch: Oauth2ClientPatch!): Oauth2Client!
2218
2273
 
2274
+ """To modify PDFRelease information"""
2275
+ updatePDFRelease(id: String!, patch: PDFReleasePatch!): PDFRelease!
2276
+
2277
+ """To modify PDFTemplate information"""
2278
+ updatePDFTemplate(id: String!, patch: PDFTemplatePatch!): PDFTemplate!
2279
+
2219
2280
  """To modify PayloadLog information"""
2220
2281
  updatePayloadLog(id: String!, patch: PayloadLogPatch!): PayloadLog!
2221
2282
 
@@ -2386,8 +2447,9 @@ input NewDepartment {
2386
2447
  input NewEmployee {
2387
2448
  active: Boolean
2388
2449
  alias: String
2450
+ contact: ObjectRefForContact
2389
2451
  controlNo: String!
2390
- department: ObjectRef
2452
+ department: ObjectRefForDepartment
2391
2453
  extension: String
2392
2454
  hiredOn: String
2393
2455
  jobPosition: String
@@ -2663,6 +2725,28 @@ input NewOauth2Client {
2663
2725
  webhook: String
2664
2726
  }
2665
2727
 
2728
+ input NewPDFRelease {
2729
+ active: Boolean
2730
+ description: String
2731
+ name: String!
2732
+ params: String
2733
+ state: PDFReleaseStatus
2734
+ }
2735
+
2736
+ input NewPDFTemplate {
2737
+ active: Boolean
2738
+ content_template: String
2739
+ cover_template: String
2740
+ description: String
2741
+ footer_template: String
2742
+ header_template: String
2743
+ last_template: String
2744
+ name: String!
2745
+ page_size: String = "A4"
2746
+ state: PDFTemplateStatus
2747
+ watermark: String
2748
+ }
2749
+
2666
2750
  input NewPagePreference {
2667
2751
  element: String
2668
2752
  page: String
@@ -2968,6 +3052,34 @@ input ObjectRefApprovalLineOwnerType {
2968
3052
  name: String
2969
3053
  }
2970
3054
 
3055
+ input ObjectRefForContact {
3056
+ address: String
3057
+
3058
+ """Field description"""
3059
+ description: String
3060
+ email: EmailAddress
3061
+
3062
+ """Field id"""
3063
+ id: ID!
3064
+
3065
+ """Field name"""
3066
+ name: String
3067
+ phone: String
3068
+ }
3069
+
3070
+ input ObjectRefForDepartment {
3071
+ controlNo: String
3072
+
3073
+ """Field description"""
3074
+ description: String
3075
+
3076
+ """Field id"""
3077
+ id: ID!
3078
+
3079
+ """Field name"""
3080
+ name: String
3081
+ }
3082
+
2971
3083
  input ObjectRefForEmployee {
2972
3084
  active: Boolean
2973
3085
  alias: String
@@ -3024,6 +3136,92 @@ enum OrgMemberTargetType {
3024
3136
  Role
3025
3137
  }
3026
3138
 
3139
+ """Entity for PDFRelease"""
3140
+ type PDFRelease {
3141
+ active: Boolean
3142
+ createdAt: DateTimeISO
3143
+ creator: User
3144
+ deletedAt: DateTimeISO
3145
+ description: String
3146
+ domain: Domain
3147
+ filePath: String
3148
+ fileUrl: String
3149
+ id: ID!
3150
+ name: String
3151
+ state: String
3152
+ template: PDFTemplate!
3153
+ templateId: String!
3154
+ updatedAt: DateTimeISO
3155
+ updater: User
3156
+ }
3157
+
3158
+ type PDFReleaseList {
3159
+ items: [PDFRelease!]!
3160
+ total: Int!
3161
+ }
3162
+
3163
+ input PDFReleasePatch {
3164
+ active: Boolean
3165
+ cuFlag: String
3166
+ description: String
3167
+ id: ID
3168
+ name: String
3169
+ state: PDFReleaseStatus
3170
+ }
3171
+
3172
+ """state enumeration of a PDFRelease"""
3173
+ enum PDFReleaseStatus {
3174
+ failed
3175
+ published
3176
+ }
3177
+
3178
+ """Entity for PDFTemplate"""
3179
+ type PDFTemplate {
3180
+ active: Boolean
3181
+ content_template: String
3182
+ cover_template: String
3183
+ createdAt: DateTimeISO
3184
+ creator: User
3185
+ description: String
3186
+ domain: Domain
3187
+ footer_template: String
3188
+ header_template: String
3189
+ id: ID!
3190
+ last_template: String
3191
+ name: String
3192
+ page_size: String
3193
+ state: String
3194
+ updatedAt: DateTimeISO
3195
+ updater: User
3196
+ watermark: String
3197
+ }
3198
+
3199
+ type PDFTemplateList {
3200
+ items: [PDFTemplate!]!
3201
+ total: Int!
3202
+ }
3203
+
3204
+ input PDFTemplatePatch {
3205
+ active: Boolean
3206
+ content_template: String
3207
+ cover_template: String
3208
+ cuFlag: String
3209
+ description: String
3210
+ footer_template: String
3211
+ header_template: String
3212
+ id: ID
3213
+ last_template: String
3214
+ name: String
3215
+ page_size: String = "A4"
3216
+ state: PDFTemplateStatus
3217
+ }
3218
+
3219
+ """state enumeration of a PDF Template"""
3220
+ enum PDFTemplateStatus {
3221
+ draft
3222
+ released
3223
+ }
3224
+
3027
3225
  """Entity for PagePreference"""
3028
3226
  type PagePreference {
3029
3227
  createdAt: DateTimeISO
@@ -3094,6 +3292,18 @@ input PartnerSettingPatch {
3094
3292
  value: String
3095
3293
  }
3096
3294
 
3295
+ type PasswordRule {
3296
+ allowRepeat: Boolean
3297
+ digit: Boolean
3298
+ looseCharacterLength: Float
3299
+ lowerCase: Boolean
3300
+ specialCharacter: Boolean
3301
+ tightCharacterLength: Float
3302
+ upperCase: Boolean
3303
+ useLoosePattern: Boolean
3304
+ useTightPattern: Boolean
3305
+ }
3306
+
3097
3307
  """Entity for PayloadLog"""
3098
3308
  type PayloadLog {
3099
3309
  createdAt: DateTimeISO
@@ -3270,6 +3480,12 @@ type PropertySpec {
3270
3480
 
3271
3481
  type Query {
3272
3482
  APIDocCompletion(input: APIDocCompletionInput!): APIDocCompletionOutput!
3483
+
3484
+ """To fetch a PDFTemplate"""
3485
+ PDFTemplate(id: String!): PDFTemplate
3486
+
3487
+ """To fetch multiple PDFTemplates"""
3488
+ PDFTemplates(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PDFTemplateList!
3273
3489
  appBinding(id: String!): AppBinding!
3274
3490
  appBindings(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): AppBindingList!
3275
3491
 
@@ -3342,19 +3558,25 @@ type Query {
3342
3558
  boardsCreatedByMe(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): BoardList!
3343
3559
  chatCompletion(input: ChatCompletionInput!): ChatCompletionOutput!
3344
3560
 
3345
- """To check if system would provide default password to create new user"""
3561
+ """
3562
+ Checks if the system is configured to provide a default password for new users.
3563
+ """
3346
3564
  checkDefaultPassword: Boolean!
3347
3565
 
3348
- """To check if system would provide default password to create new user"""
3566
+ """
3567
+ Determines whether the system provides a default password when creating a new user.
3568
+ """
3349
3569
  checkResettablePasswordToDefault: Boolean!
3350
3570
 
3351
3571
  """To fetch the preset of role for new user"""
3352
3572
  checkRolePreset: [Role!]!
3353
3573
 
3354
- """To check if current user is belongs to current domain"""
3574
+ """
3575
+ Checks if the current authenticated user belongs to the current domain.
3576
+ """
3355
3577
  checkUserBelongsDomain: Boolean!
3356
3578
 
3357
- """..."""
3579
+ """Checks if a user with the given email address exists in the system."""
3358
3580
  checkUserExistence(email: EmailAddress!): Boolean!
3359
3581
 
3360
3582
  """To fetch common approval lines"""
@@ -3414,10 +3636,14 @@ type Query {
3414
3636
  """To fetch multiple appliance"""
3415
3637
  edges(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ApplianceList!
3416
3638
 
3417
- """To fetch a Employee"""
3639
+ """
3640
+ Fetches a specific employee by their unique ID. Returns the employee object if found, or null if not found.
3641
+ """
3418
3642
  employee(id: String!): Employee
3419
3643
 
3420
- """To fetch multiple Employees"""
3644
+ """
3645
+ Fetches a list of employees based on provided query parameters. Supports searching by name, control number, and alias.
3646
+ """
3421
3647
  employees(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): EmployeeList!
3422
3648
 
3423
3649
  """To fetch multiple Entities"""
@@ -3575,12 +3801,23 @@ type Query {
3575
3801
  partnerSettings(filters: [Filter!]!, pagination: Pagination!, partnerDomain: ObjectRef!, sortings: [Sorting!]!): PartnerSettingList!
3576
3802
  partners(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PartnerList!
3577
3803
 
3804
+ """
3805
+ Retrieves the current password rule configuration for the system, such as required character types and minimum length.
3806
+ """
3807
+ passwordRule: PasswordRule!
3808
+
3578
3809
  """To fetch a PayloadLog"""
3579
3810
  payloadLog(id: String!): PayloadLog!
3580
3811
 
3581
3812
  """To fetch multiple PayloadLogs"""
3582
3813
  payloadLogs(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PayloadLogList!
3583
3814
 
3815
+ """To fetch a PDFRelease"""
3816
+ pdfRelease(id: String!): PDFRelease
3817
+
3818
+ """To fetch multiple PDFReleases"""
3819
+ pdfReleases(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): PDFReleaseList!
3820
+
3584
3821
  """To fetch a PlayGroup"""
3585
3822
  playGroup(id: String!): PlayGroup
3586
3823
 
@@ -3672,7 +3909,7 @@ type Query {
3672
3909
  """To fetch multiple Themes"""
3673
3910
  themes(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): ThemeList!
3674
3911
 
3675
- """To fetch user"""
3912
+ """Fetches a user by their email address within the current domain."""
3676
3913
  user(email: EmailAddress!): User!
3677
3914
 
3678
3915
  """To fetch Menus by role"""
@@ -3681,7 +3918,9 @@ type Query {
3681
3918
  """To fetch roles of a user"""
3682
3919
  userRoles(userId: String!): [UserRole!]!
3683
3920
 
3684
- """To fetch multiple users"""
3921
+ """
3922
+ Fetches a list of users based on provided search parameters within the current domain.
3923
+ """
3685
3924
  users(filters: [Filter!], inherited: InheritedValueType, pagination: Pagination, sortings: [Sorting!]): UserList!
3686
3925
  vendors: [Domain!]!
3687
3926
  }
@@ -324,8 +324,8 @@ export class OxSciChartMultiple extends LitElement {
324
324
  }
325
325
 
326
326
  async updateSeries(after: string[], before: string[]) {
327
- const addSeries = after?.filter(series => !before.includes(series)) || []
328
- const removeSeries = before?.filter(series => !after.includes(series)) || []
327
+ const addSeries = after?.filter(series => !before?.includes(series)) || []
328
+ const removeSeries = before?.filter(series => !after?.includes(series)) || []
329
329
 
330
330
  for (const series of removeSeries) {
331
331
  await this.removeChart(series)
@@ -535,12 +535,12 @@ export class OxSciChartMultiple extends LitElement {
535
535
  // 초기 데이터 추가
536
536
  const newData = this.dataSet.find((data, index) => this.config?.data.datasets[index].dataKey === dataset.dataKey)
537
537
  if (newData && newData.length > 0) {
538
- const xValues = newData.map(d => d.xValue)
539
- const yValues = newData.map(d => d.yValue).filter(y => typeof y === 'number' && !isNaN(y)) // y 값 검증
540
-
541
- if (yValues.length > 0) {
542
- // 유효한 y 값이 있을 때만 추가
543
- dataSeries.appendRange(xValues, yValues)
538
+ const filteredData = newData.filter(d => typeof d.yValue === 'number')
539
+ if (filteredData.length > 0) {
540
+ dataSeries.appendRange(
541
+ filteredData.map(d => d.xValue),
542
+ filteredData.map(d => d.yValue)
543
+ )
544
544
  } else {
545
545
  console.warn('No valid yValues found for dataset:', dataset.dataKey)
546
546
  }