VueUiXy
-
Add
responsiveProportionalSizing
config option, (true by default = previous behavior). Set to true, it disables the text elements automatic resizing in responsive mode. #212 -
Add
useNiceScale
config option to force a nice scale (false by default = previous behavior) -
Fix errors on straight line datasets when dataset starts with a null value and
cutNullValues
is true -
Add config options for xAxis and yAxis crosshair markers
-
Add optional yAxis annotations, to draw either a line or an area following one or two y values, with a label. You can create multiple annotations:
Docs and examples are up to date
All charts with user options
- Add optional config callbacks to override default button behavior
const config = ref({
userOptions: {
// These callbacks will be called when user options buttons are clicked.
callbacks: {
pdf: (chart: HTMLElement) => {
// use your own pdf solution
},
img: (base64: string) => {
// do whatever you want with the base 64 image data of the chart
},
csv: (csvContent: string) => {
// do whatever you want with the csv data
},
// all other buttons have also their callbacks (no params), with the same name as the button
}
}
})