Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

129
Views
Get X value from stacked series barchat on typescript - amCharts

I need to retrieve the value of the XAxis on typescript

enter image description here

Actually I tried using adapter in this way, but value is filled with {valueX}

this.series.adapter.add( 'tooltipText', (value:any , target) => {
  var ticks: number = (value) as number;
  return value; //this return {valueX}
});

I need the exact value that is showing on chart (for example 34,590,000,000), not the tooltipText template

about 4 years ago ยท Juan Pablo Isaza
1 answers
Answer question

0

I resolved in this way ๐Ÿ˜ƒ

this.series.adapter.add( 'tooltipText', (text: string, target) => {
  var value = target.tooltipDataItem.values.valueX.value;
  return value;
});
about 4 years 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 vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
ยฉ 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!