amcharts / amcharts5

The newest, fastest, and most advanced amCharts charting library for JavaScript and TypeScript apps.
322 stars 90 forks source link

ENHANCEMENT Request : Comparison Series with new price scale #1592

Open workingbuddy10 opened 1 week ago

workingbuddy10 commented 1 week ago

Currently if the user applies the comparison series, it appears in the over lay mode with the change in the percent. Which is working right!

But If the user can have the option to view the comparison series in overlay mode with new price scale just like the Trading View gives.

Though they give 3 options for viewing comparison series : Change in percent, New price Scale & New panel. (option 3 can be easily done by the developer end). Just looking for the help for the new price scale.

Like If I pan in product A valueAxis, then only that series should and vice-versa.

Like this : image

martynasma commented 1 week ago

Though they give 3 options for viewing comparison series : Change in percent, New price Scale & New panel. (option 3 can be easily done by the developer end).

The second option can be done just as well. Comparison series is added to chart via user code. So instead of creating a new series and adding it via addComparingSeries(), you create an additional Y axis, and assign it to compared series.

workingbuddy10 commented 1 week ago

Thanks for this! Will try to work around!