• Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses and challenges
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Pricing
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Salary Calculator

0

139
Views
Highchart tooltip formatter function not able to get x value (this.x)?

I was try to using formatter function with new angular 12 i was getting error Property 'value' does not exist on type 'ChartService'.ts(2339) how to fix that ? enter image description here

9 months ago · Juan Pablo Isaza
2 answers
Answer question

0

can you please explain more the scope of value

if value set from service or api response you can try this['value'] and test in runtime

9 months ago · Juan Pablo Isaza Report

0

You have missing types for formatter callback function, for test I set type at any and value is show without problems.

In our wrapper documentation you will find an example that explained how to add missing type (property XXX does not exist on type YYY to add missing types).

Demo:

https://stackblitz.com/edit/highcharts-angular-basic-line-4sokbv

Documentation:

https://github.com/highcharts/highcharts-angular#online-examples

9 months ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post job Pricing Our process Sales
Legal
Terms and conditions Privacy policy
© 2023 PeakU Inc. All Rights Reserved.