This sample shows a logarithmic axis in a chart with data about the sales of a product between 1995 and 2005.
The logarithmic axis uses a logarithmic scale and is very useful when viewing data with values of both lower orders of magnitude (e.g., 10^-6) and higher orders of magnitude (e.g. 10^6). To use the logarithmic axis, set valueType in axis to Logarithmic. Tooltip is enabled in this example, to see the tooltip in action, hover a point or tap on a point in touch enabled devices. Injecting Module Chart component features are segregated into individual feature-wise modules. To use Logarithmic axis, we need to inject Logarithmic module using Chart.Inject(Logarithmic) method. More information on the Logarithmic axis can be found in this documentation section.