Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to mix Scatter2D and line charts? #113

Open
grapecaptain opened this issue Dec 24, 2021 · 2 comments
Open

Is there a way to mix Scatter2D and line charts? #113

grapecaptain opened this issue Dec 24, 2021 · 2 comments

Comments

@grapecaptain
Copy link

Hi.
I am trying to Visualize the correlation between DNA methylation and gene expression results using canvasXpress.

This is the chart i want.
I want to express the results to be obtained from correlation analysis.

image

and this is the actual result by scatter2D chart

image

image

Although the correlation function is built-in, the slope is different from the result on the left that I analyzed.
So I'm looking for a way to mix Scatter2D and line charts, for display an independent line chart in a Scatter2D chart.

Is there any way do it?

thanks.

@neuhausi
Copy link
Owner

You can any decoration you want look at this example:
https://canvasxpress.org/examples/scatter2d-13.html
The lines are drawn defining x and y coordinates

@neuhausi
Copy link
Owner

neuhausi commented Feb 7, 2025

Can you close this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants