charts
charts copied to clipboard
customization options improvement
Expected Behaviour

Actual Behaviour

customization improvements:
Hi guys,
I discovered Frappe Charts few days ago and it seems a serious alternative to another charts librairies like D3.js, Apexcharts, ChartJS, etc...
However, due to fewer customization options, it's not possible actually to create a sparkline-like charts with Frappe Charts.
Do you think if we'll can in a near future create charts like in 'Expected Behaviour", with
- no extra-padding,
- no labels for X and Y axis
- a way to provide more options for annotations, like line color and more stylable text (background, font-size, color, padding, margin)?
Thanks for your work, your team rocks!
Frappé Charts version: 1.3.2
it's not possible actually to create a sparkline-like charts with Frappe Charts.
Hey, I am working towards version 2 for frappe charts. It'll be more customizable. And sure you can have more cleaner charts with lesser elements
any news on this @scmmishra ? I'd love to be able to customise padding.
is this implemented now? I really want to add Sparklines
I got decent results with
.chart-legend,
.line-vertical,
text,
.graph-svg-tip.comparison,
.y.axis {
width: 0px;
height: 0px;
visibility: hidden;
}
.chart-container{
transform: scale(1.18) translateX(-1.2%);
}
but I'd love to see this available as a setting
@brocorp-dev Sorry for commenting on an older post, but how did you implement a smooth curve. I have tried my best to achieve it but all I get is this
@yashkc2025 For a smooth curve, you can use the
lineOptions: {
spline: 1
}
from https://frappe.io/charts/docs/basic/trends_regions#continuity