Multi axis capability
See original GitHub issueYou talked about multi axis in https://github.com/frappe/charts/issues/93
But there is no reference to it in the doc, so I have a proposal:
{
xAxis: [{
id: 'bottom-axis',
title: 'Time'
position: 'bottom'
}],
yAxis: [
{
id: 'left-axis',
position: 'left',
title: 'Rate',
unit: ['point', 'points'], // array with [singular, plural] or simple string for both
// tooltipUnit: unit as default value
// tickUnit: unit as default value
},
{
id: 'right-axis',
position: 'right',
title: 'Price',
unit: '$'
}
],
labels: [
{
axisID: "bottom-axis", // refer to a xAxis id
values: ["12am-3am", "3am-6am", "6am-9am", "9am-12pm", "12pm-3pm", "3pm-6pm", "6pm-9pm", "9pm-12am"]
}
],
datasets: [
{
axisID: "left-axis", // refer to a yAxis id
name: "Some Data",
chartType: 'bar',
values: [25, 40, 30, 35, 8, 52, 17, -4]
},
{
axisID: "left-axis",
name: "Another Data",
chartType: 'bar',
values: [25, 40, 30, 35, 8, 52, 17, -4]
},
{
axisID: "right-axis",
name: "Another Data",
chartType: 'bar',
values: [25, 40, 30, 35, 8, 52, 17, -4],
}
}
}
there is an opportunity to solve https://github.com/frappe/charts/issues/128 too
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:5
Top Results From Across the Web
Multiaxis machining - Wikipedia
There are three main components to multiaxis machines: The machines physical capabilities i.e. torque, spindle speed, axis orientation/operation. The CNC drive ...
Read more >3-Axis to 12-Axis: CNC Milling Machine Capabilities ...
In this article, we'll compare the functions and capabilities of various multi-axis CNC milling machines. depiction of the CNC machining axis types Source....
Read more >World-Class Precision Multi-Axis Machining | Trace-A-Matic
The multi-axis platform cuts part geometry and complex shapes unachievable by other machining methods, due to the exceptional mobility of workpiece to tool ......
Read more >We've Upgraded Multi-axis Capabilities for Toolpaths in ...
An overview of the recent multi-axis additions to toolpaths and how you can use them to get more out of your machine tools....
Read more >What's the Difference Between 3-axis, 4-axis & 5- ...
This allows complex arcs to be machined, such as the profile of cam lobes, and helixes. 4-axis machining gives us the ability to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
As an open-source maintainer, I understand the desire to reduce the amount of time that you need to dedicate to project. In order to do that and still be able to improve the library and adapt it to users needs, it would be helpful to give guidance to developers willing to implement the feature themselves.
I really like the simplicity of the library and the looks of the default charts. Unfortunately without the option of having at least two axis, it’s not a fit for my usecase and probably a lot of others as well.
I’d like to show the total number of something, say infections, and the daily increase of cases. Since both numbers run out of scale quickly, the chart is unusable. I’m currently working around this by providing 2 different charts, but that is suboptimal.
As you can see in the screenshot, it’s basically impossible to see the difference in daily increase at a glance.
Hi @pratu16x7 there is a note in #41 that this is implemented in V1, however I couldn’t find a way to use it. Did this go out to production? If not then I will look into contributing if possible.
The library as it is, is already good btw. It’s just that with data anlysis, sometimes 2 Y axis is required.