Hi Mitch, I'm afraid currently the only way is to transform the value to ln(-ln(1-f(t)) before plotting it. Then displaying the original value with formatters.
But we are planning this custom scale feature. Perhaps you can create a feature request on our GitHub issue page so we can track it. Regards. On Wed, Jun 16, 2021 at 8:55 AM Mitch Wagner <mitch.wag...@c3.ai.invalid> wrote: > Hello! > > First of all, thank you all for your work. I'm using ECharts right now in > my own project and want to let you know how much I appreciate making your > work available to everyone. > If anybody has the time, I was wondering if you would be willing to help > me answer a question about axis scaling. > > Right now, I'm attempting to implement a Weibull plot, which has a custom > y-axis scale: > > - y-axis: ln(-ln(1-f(t))) > > https://www.itl.nist.gov/div898/handbook/eda/section3/weibplot.htm > > Is there a way to create an axis with this scale in ECharts? I realize > that the options available right now for an axis scale are "value", "log", > "categorical", and "time", so it appears I would need some workaround. > > For example, I am wondering if it would be possible to plot ln(-ln(1-f(t)) > on a "value" scale, but to transform the axis ticks so that for a given > y-value ln(-ln(1-f(t))), the respective tick on the y-axis is f(t) - this > would, in essence, implement a custom scale. It looks like this is not > possible, but I thought I would reach out in case there might be some way > of achieving this. > > Thank you for your time, > Mitch > > > > *Mitch Wagner* > Associate Forward Deployed Engineer > Tysons, Virginia > <https://c3.ai/?utm_source=signature&utm_campaign=enterpriseai> > © 2021 C3.ai. Confidential Information. > > -- Yi Shen Apache ECharts PMC